#2B3C8F#2B3C8F
#2B3C8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.138 H 270.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3C8F |
|---|---|
| RGB | rgb(43, 60, 143) |
| HSL | hsl(230, 54%, 36%) |
| HSV | hsv(230, 70%, 56%) |
| CMYK | cmyk(69.9%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.72, 22.37, -48.07) |
| CIE-LCH | lch(28.72, 53.02, 294.96°) |
| OKLab | oklab(39.4% 0.0002 -0.1384) |
| OKLCH | oklch(39.4% 0.138 270.1) |
| XYZ | xyz(7.5684, 5.7278, 26.6880) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.94
Darkish Blue
#014182
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3C8F #8F7E2B
analogous
#2B6E8F #2B3C8F #4C2B8F
triadic
#2B3C8F #8F2B3C #3C8F2B
tetradic
#2B3C8F #8F2B6E #8F7E2B #2B8F4C
square
#2B3C8F #8F2B6E #8F7E2B #2B8F4C
split-complementary
#2B3C8F #8F4C2B #6E8F2B
monochromatic
#0F1531 #1D2860 #2B3C8F #3950BE #6476D0
Accessibility & contrast
On white
9.79
#2B3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2B3C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3C8F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3C8F | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b3c8f; /* rgb */ color: rgb(43, 60, 143); /* oklch */ color: oklch(39.4% 0.138 270.1);
Tailwind
colors: {
custom: {
50: '#7171b0',
500: '#2b3c8f',
950: '#000000',
},
}SCSS
$custom: #2b3c8f; $custom-light: #7171b0; $custom-dark: #000000;
JSON
{
"hex": "#2b3c8f",
"rgb": {
"r": 43,
"g": 60,
"b": 143
},
"hsl": {
"h": 229.8,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.39403,
"c": 0.13841,
"h": 270.1
},
"luminance": 0.05728
}Semantic roles & 50–950 ramp
primary
#2B3C8F
secondary
#B7A85F
accent
#C44BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80