#2B399C#2B399C
#2B399C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.160 H 270.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2B399C |
|---|---|
| RGB | rgb(43, 57, 156) |
| HSL | hsl(233, 57%, 39%) |
| HSV | hsv(233, 72%, 61%) |
| CMYK | cmyk(72.4%, 63.5%, 0%, 38.8%) |
| CIE-LAB | lab(29.00, 29.25, -55.56) |
| CIE-LCH | lch(29.00, 62.78, 297.76°) |
| OKLab | oklab(39.95% 0.0026 -0.1604) |
| OKLCH | oklch(39.95% 0.16 270.9) |
| XYZ | xyz(8.4581, 5.8393, 32.1274) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blueberry
#464196
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 5.68
Cobalt
#0047AB
ΔE00 6.14
Blue Blue
#2242C7
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B399C #9C8E2B
analogous
#2B729C #2B399C #562B9C
triadic
#2B399C #9C2B39 #399C2B
tetradic
#2B399C #9C2B72 #9C8E2B #2B9C56
square
#2B399C #9C2B72 #9C8E2B #2B9C56
split-complementary
#2B399C #9C562B #729C2B
monochromatic
#11163C #1E276C #2B399C #3B4DC9 #6B78D6
Accessibility & contrast
On white
9.69
#2B399C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2B399C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B399C
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B399C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B399C | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b399c; /* rgb */ color: rgb(43, 57, 156); /* oklch */ color: oklch(40.0% 0.160 270.9);
Tailwind
colors: {
custom: {
50: '#756fba',
500: '#2b399c',
950: '#000000',
},
}SCSS
$custom: #2b399c; $custom-light: #756fba; $custom-dark: #000000;
JSON
{
"hex": "#2b399c",
"rgb": {
"r": 43,
"g": 57,
"b": 156
},
"hsl": {
"h": 232.566,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.39954,
"c": 0.16045,
"h": 270.9
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#2B399C
secondary
#BDB266
accent
#CD48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81