#2B398F#2B398F
#2B398F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.142 H 271.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B398F |
|---|---|
| RGB | rgb(43, 57, 143) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 56%) |
| CMYK | cmyk(69.9%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(27.91, 24.40, -49.39) |
| CIE-LCH | lch(27.91, 55.09, 296.30°) |
| OKLab | oklab(38.8% 0.0028 -0.1423) |
| OKLCH | oklch(38.8% 0.142 271.1) |
| XYZ | xyz(7.4156, 5.4223, 26.6371) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Blueberry
#464196
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 5.15
Cobalt (survey)
#1E488F
ΔE00 6.38
Cobalt
#0047AB
ΔE00 6.66
Darkish Blue
#014182
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B398F #8F812B
analogous
#2B6B8F #2B398F #4F2B8F
triadic
#2B398F #8F2B39 #398F2B
tetradic
#2B398F #8F2B6B #8F812B #2B8F4F
square
#2B398F #8F2B6B #8F812B #2B8F4F
split-complementary
#2B398F #8F4F2B #6B8F2B
monochromatic
#0F1331 #1D2660 #2B398F #394CBE #6473D0
Accessibility & contrast
On white
10.07
#2B398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2B398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B398F
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B398F | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b398f; /* rgb */ color: rgb(43, 57, 143); /* oklch */ color: oklch(38.8% 0.142 271.1);
Tailwind
colors: {
custom: {
50: '#726fb1',
500: '#2b398f',
950: '#000000',
},
}SCSS
$custom: #2b398f; $custom-light: #726fb1; $custom-dark: #000000;
JSON
{
"hex": "#2b398f",
"rgb": {
"r": 43,
"g": 57,
"b": 143
},
"hsl": {
"h": 231.6,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.38799,
"c": 0.14235,
"h": 271.1
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#2B398F
secondary
#B7AA5F
accent
#C94BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80