#2B3F94#2B3F94
#2B3F94 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.142 H 269.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F94 |
|---|---|
| RGB | rgb(43, 63, 148) |
| HSL | hsl(229, 55%, 37%) |
| HSV | hsv(229, 71%, 58%) |
| CMYK | cmyk(70.9%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.93, 22.23, -49.17) |
| CIE-LCH | lch(29.93, 53.96, 294.33°) |
| OKLab | oklab(40.43% -0.0022 -0.1416) |
| OKLCH | oklch(40.43% 0.142 269.1) |
| XYZ | xyz(8.1172, 6.2059, 28.7813) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.80
Darkish Blue
#014182
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F94 #94802B
analogous
#2B7494 #2B3F94 #4B2B94
triadic
#2B3F94 #942B3F #3F942B
tetradic
#2B3F94 #942B74 #94802B #2B944B
square
#2B3F94 #942B74 #94802B #2B944B
split-complementary
#2B3F94 #944B2B #74942B
monochromatic
#0F1735 #1D2B65 #2B3F94 #3953C3 #677BD3
Accessibility & contrast
On white
9.37
#2B3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2B3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F94
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F94 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b3f94; /* rgb */ color: rgb(43, 63, 148); /* oklch */ color: oklch(40.4% 0.142 269.1);
Tailwind
colors: {
custom: {
50: '#7273b4',
500: '#2b3f94',
950: '#000000',
},
}SCSS
$custom: #2b3f94; $custom-light: #7273b4; $custom-dark: #000000;
JSON
{
"hex": "#2b3f94",
"rgb": {
"r": 43,
"g": 63,
"b": 148
},
"hsl": {
"h": 228.571,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.40434,
"c": 0.14163,
"h": 269.1
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#2B3F94
secondary
#B9A862
accent
#C249DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80