#2B3F8F#2B3F8F
#2B3F8F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.134 H 268.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F8F |
|---|---|
| RGB | rgb(43, 63, 143) |
| HSL | hsl(228, 54%, 36%) |
| HSV | hsv(228, 70%, 56%) |
| CMYK | cmyk(69.9%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.54, 20.33, -46.73) |
| CIE-LCH | lch(29.54, 50.96, 293.51°) |
| OKLab | oklab(40.02% -0.0025 -0.1344) |
| OKLCH | oklch(40.02% 0.134 268.9) |
| XYZ | xyz(7.7300, 6.0510, 26.7419) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.39
Blueberry
#464196
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.29
Darkish Blue
#014182
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F8F #8F7B2B
analogous
#2B718F #2B3F8F #492B8F
triadic
#2B3F8F #8F2B3F #3F8F2B
tetradic
#2B3F8F #8F2B71 #8F7B2B #2B8F49
square
#2B3F8F #8F2B71 #8F7B2B #2B8F49
split-complementary
#2B3F8F #8F492B #718F2B
monochromatic
#0F1631 #1D2A60 #2B3F8F #3954BE #647AD0
Accessibility & contrast
On white
9.50
#2B3F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2B3F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F8F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F8F | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b3f8f; /* rgb */ color: rgb(43, 63, 143); /* oklch */ color: oklch(40.0% 0.134 268.9);
Tailwind
colors: {
custom: {
50: '#7173b0',
500: '#2b3f8f',
950: '#000000',
},
}SCSS
$custom: #2b3f8f; $custom-light: #7173b0; $custom-dark: #000000;
JSON
{
"hex": "#2b3f8f",
"rgb": {
"r": 43,
"g": 63,
"b": 143
},
"hsl": {
"h": 228,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.40023,
"c": 0.13445,
"h": 268.9
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#2B3F8F
secondary
#B7A55F
accent
#C04BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80