#2B3F97#2B3F97
#2B3F97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 269.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F97 |
|---|---|
| RGB | rgb(43, 63, 151) |
| HSL | hsl(229, 56%, 38%) |
| HSV | hsv(229, 72%, 59%) |
| CMYK | cmyk(71.5%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.16, 23.37, -50.62) |
| CIE-LCH | lch(30.16, 55.75, 294.78°) |
| OKLab | oklab(40.69% -0.0021 -0.1459) |
| OKLCH | oklch(40.69% 0.146 269.2) |
| XYZ | xyz(8.3578, 6.3021, 30.0481) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Blueberry
#464196
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 5.85
Darkish Blue
#014182
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F97 #97832B
analogous
#2B7597 #2B3F97 #4D2B97
triadic
#2B3F97 #972B3F #3F972B
tetradic
#2B3F97 #972B75 #97832B #2B974D
square
#2B3F97 #972B75 #97832B #2B974D
split-complementary
#2B3F97 #974D2B #75972B
monochromatic
#101738 #1D2B67 #2B3F97 #3953C7 #687CD4
Accessibility & contrast
On white
9.29
#2B3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2B3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F97
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F97 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3f97; /* rgb */ color: rgb(43, 63, 151); /* oklch */ color: oklch(40.7% 0.146 269.2);
Tailwind
colors: {
custom: {
50: '#7373b6',
500: '#2b3f97',
950: '#000000',
},
}SCSS
$custom: #2b3f97; $custom-light: #7373b6; $custom-dark: #000000;
JSON
{
"hex": "#2b3f97",
"rgb": {
"r": 43,
"g": 63,
"b": 151
},
"hsl": {
"h": 228.889,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.40685,
"c": 0.14589,
"h": 269.2
},
"luminance": 0.06303
}Semantic roles & 50–950 ramp
primary
#2B3F97
secondary
#BBAA63
accent
#C349DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80