Nearest named color · #2B7EA8
#2B7EA8
Nearest named color: Neptune
#2B7EA8 (rgb(43 126 168), hsl(200 59% 41%), oklch(0.563 0.101 235)) is closest to the named color Neptune. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2B7EA8
oklch(0.563 0.101 235)
Color conversions
- HEX
- #2b7ea8
- RGB
- rgb(43 126 168)
- HSL
- hsl(200 59% 41%)
- HWB
- hwb(200 17% 34%)
- OKLCH
- oklch(0.563 0.101 235)
- OKLab
- oklab(0.563 -0.058 -0.083)
- CIE Lab
- lab(49.34 -14.57 -30.13)
- LCH
- lch(49.34 33.47 244.2)
- CMYK
- cmyk(74% 25% 0% 34%)
Tints · Shades · Tones
Tints
- 458BB1
- 5B97BA
- 70A4C3
- 85B1CB
- 99BED4
- ADCBDD
- C2D8E5
- D6E5EE
- EAF2F6
Shades
- 246D92
- 1D5C7C
- 164C67
- 103C52
- 0A2D3F
- 051F2C
- 02111A
- 01050A
- 000101
Tones
- 387FA4
- 437FA0
- 4C7F9D
- 558099
- 5D8095
- 658091
- 6C808D
- 738089
- 7A8084
Color harmonies
Complementary +180°
- 2B7EA8
Neptune
- A26436
≈ Camel Brown
Analogous -30° +30°
- 2B7EA8
Neptune
- 008590
≈ Blue Slushie
- 5873B1
≈ Prefect
Triadic +120° +240°
- 2B7EA8
Neptune
- A35B78
≈ Rose Wine
- 737C2F
≈ Ripe Green
Split-complementary +150° +210°
- 2B7EA8
Neptune
- A95C57
≈ Tuscan Clay
- 907022
≈ Corn Harvest
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--neptune: #2b7ea8;
--neptune-rgb: 43 126 168;
--neptune-oklch: oklch(0.563 0.101 235);
}
.element {
color: var(--neptune);
background-color: hsl(200 59% 41%);
border-color: oklch(0.563 0.101 235);
}Tailwind CSS v4
@theme {
--color-neptune: #2b7ea8;
--color-neptune-50: #dbfaff;
--color-neptune-100: #c9eeff;
--color-neptune-200: #acdcfb;
--color-neptune-300: #85c0e5;
--color-neptune-400: #5ea8d2;
--color-neptune-500: #3390bf;
--color-neptune-600: #2d7aa2;
--color-neptune-700: #246282;
--color-neptune-800: #164860;
--color-neptune-900: #0e3243;
--color-neptune-950: #021e2b;
}SCSS
$neptune: #2b7ea8;
$neptune-rgb: 43, 126, 168;
$neptune-light: mix(#fff, $neptune, 20%);
$neptune-dark: mix(#000, $neptune, 20%);
.element {
color: $neptune;
box-shadow: 0 0 0 2px rgba($neptune, 0.35);
}