#2B3F95#2B3F95
#2B3F95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.143 H 269.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F95 |
|---|---|
| RGB | rgb(43, 63, 149) |
| HSL | hsl(229, 55%, 38%) |
| HSV | hsv(229, 71%, 58%) |
| CMYK | cmyk(71.1%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.00, 22.61, -49.66) |
| CIE-LCH | lch(30.00, 54.56, 294.48°) |
| OKLab | oklab(40.52% -0.0022 -0.143) |
| OKLCH | oklch(40.52% 0.143 269.1) |
| XYZ | xyz(8.1967, 6.2377, 29.2000) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Blueberry
#464196
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 4.70
Cobalt
#0047AB
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 5.81
Darkish Blue
#014182
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F95 #95812B
analogous
#2B7495 #2B3F95 #4C2B95
triadic
#2B3F95 #952B3F #3F952B
tetradic
#2B3F95 #952B74 #95812B #2B954C
square
#2B3F95 #952B74 #95812B #2B954C
split-complementary
#2B3F95 #954C2B #74952B
monochromatic
#101736 #1D2B66 #2B3F95 #3953C4 #677CD3
Accessibility & contrast
On white
9.34
#2B3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F95
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F95 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3f95; /* rgb */ color: rgb(43, 63, 149); /* oklch */ color: oklch(40.5% 0.143 269.1);
Tailwind
colors: {
custom: {
50: '#7373b5',
500: '#2b3f95',
950: '#000000',
},
}SCSS
$custom: #2b3f95; $custom-light: #7373b5; $custom-dark: #000000;
JSON
{
"hex": "#2b3f95",
"rgb": {
"r": 43,
"g": 63,
"b": 149
},
"hsl": {
"h": 228.679,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.40517,
"c": 0.14305,
"h": 269.1
},
"luminance": 0.06239
}Semantic roles & 50–950 ramp
primary
#2B3F95
secondary
#BAA962
accent
#C249DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80