#2B238F#2B238F
#2B238F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.169 H 276.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B238F |
|---|---|
| RGB | rgb(43, 35, 143) |
| HSL | hsl(244, 61%, 35%) |
| HSV | hsv(244, 76%, 56%) |
| CMYK | cmyk(69.9%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(22.65, 38.45, -58.00) |
| CIE-LCH | lch(22.65, 69.59, 303.54°) |
| OKLab | oklab(34.98% 0.0189 -0.1676) |
| OKLCH | oklch(34.98% 0.169 276.4) |
| XYZ | xyz(6.5536, 3.6982, 26.3497) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.30
Midnight Blue
#191970
ΔE00 5.36
Cobalt Blue
#030AA7
ΔE00 5.44
Indigo Blue
#3A18B1
ΔE00 5.52
Royal Blue (survey)
#0504AA
ΔE00 5.98
Indigo (survey)
#380282
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B238F #878F23
analogous
#23518F #2B238F #61238F
triadic
#2B238F #8F2B23 #238F2B
tetradic
#2B238F #8F2351 #878F23 #238F61
square
#2B238F #8F2351 #878F23 #238F61
split-complementary
#2B238F #8F6123 #518F23
monochromatic
#0D0B2D #1C175E #2B238F #3A2FC0 #6057D6
Accessibility & contrast
On white
12.07
#2B238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B238F
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B238F | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b238f; /* rgb */ color: rgb(43, 35, 143); /* oklch */ color: oklch(35.0% 0.169 276.4);
Tailwind
colors: {
custom: {
50: '#7460b1',
500: '#2b238f',
950: '#000000',
},
}SCSS
$custom: #2b238f; $custom-light: #7460b1; $custom-dark: #000000;
JSON
{
"hex": "#2b238f",
"rgb": {
"r": 43,
"g": 35,
"b": 143
},
"hsl": {
"h": 244.444,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.34976,
"c": 0.16868,
"h": 276.4
},
"luminance": 0.03699
}Semantic roles & 50–950 ramp
primary
#2B238F
secondary
#B2BA54
accent
#E444D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980