#2B418F#2B418F
#2B418F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.132 H 268.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B418F |
|---|---|
| RGB | rgb(43, 65, 143) |
| HSL | hsl(227, 54%, 36%) |
| HSV | hsv(227, 70%, 56%) |
| CMYK | cmyk(69.9%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.10, 18.97, -45.83) |
| CIE-LCH | lch(30.10, 49.60, 292.49°) |
| OKLab | oklab(40.44% -0.0043 -0.1317) |
| OKLCH | oklch(40.44% 0.132 268.1) |
| XYZ | xyz(7.8428, 6.2766, 26.7795) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.91
Blueberry
#464196
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.44
Twilight Blue
#0A437A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B418F #8F792B
analogous
#2B738F #2B418F #472B8F
triadic
#2B418F #8F2B41 #418F2B
tetradic
#2B418F #8F2B73 #8F792B #2B8F47
square
#2B418F #8F2B73 #8F792B #2B8F47
split-complementary
#2B418F #8F472B #738F2B
monochromatic
#0F1631 #1D2C60 #2B418F #3956BE #647CD0
Accessibility & contrast
On white
9.31
#2B418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2B418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B418F
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B418F | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b418f; /* rgb */ color: rgb(43, 65, 143); /* oklch */ color: oklch(40.4% 0.132 268.1);
Tailwind
colors: {
custom: {
50: '#7175b0',
500: '#2b418f',
950: '#000000',
},
}SCSS
$custom: #2b418f; $custom-light: #7175b0; $custom-dark: #000000;
JSON
{
"hex": "#2b418f",
"rgb": {
"r": 43,
"g": 65,
"b": 143
},
"hsl": {
"h": 226.8,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.40444,
"c": 0.1318,
"h": 268.1
},
"luminance": 0.06277
}Semantic roles & 50–950 ramp
primary
#2B418F
secondary
#B7A35F
accent
#BD4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80