#2B398E#2B398E
#2B398E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 271.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B398E |
|---|---|
| RGB | rgb(43, 57, 142) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 56%) |
| CMYK | cmyk(69.7%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(27.82, 24.03, -48.90) |
| CIE-LCH | lch(27.82, 54.49, 296.17°) |
| OKLab | oklab(38.71% 0.0028 -0.1409) |
| OKLCH | oklch(38.71% 0.141 271.1) |
| XYZ | xyz(7.3402, 5.3921, 26.2399) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Blueberry
#464196
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 5.14
Cobalt (survey)
#1E488F
ΔE00 6.35
Cobalt
#0047AB
ΔE00 6.72
Darkish Blue
#014182
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B398E #8E802B
analogous
#2B6B8E #2B398E #4F2B8E
triadic
#2B398E #8E2B39 #398E2B
tetradic
#2B398E #8E2B6B #8E802B #2B8E4F
square
#2B398E #8E2B6B #8E802B #2B8E4F
split-complementary
#2B398E #8E4F2B #6B8E2B
monochromatic
#0F1330 #1D265F #2B398E #394CBD #6373D0
Accessibility & contrast
On white
10.10
#2B398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2B398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B398E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B398E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b398e; /* rgb */ color: rgb(43, 57, 142); /* oklch */ color: oklch(38.7% 0.141 271.1);
Tailwind
colors: {
custom: {
50: '#716fb0',
500: '#2b398e',
950: '#000000',
},
}SCSS
$custom: #2b398e; $custom-light: #716fb0; $custom-dark: #000000;
JSON
{
"hex": "#2b398e",
"rgb": {
"r": 43,
"g": 57,
"b": 142
},
"hsl": {
"h": 231.515,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.38713,
"c": 0.14092,
"h": 271.1
},
"luminance": 0.05393
}Semantic roles & 50–950 ramp
primary
#2B398E
secondary
#B6AA5F
accent
#C84BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F