#2B3F87#2B3F87
#2B3F87 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.123 H 268.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F87 |
|---|---|
| RGB | rgb(43, 63, 135) |
| HSL | hsl(227, 52%, 35%) |
| HSV | hsv(227, 68%, 53%) |
| CMYK | cmyk(68.1%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(28.95, 17.29, -42.75) |
| CIE-LCH | lch(28.95, 46.12, 292.02°) |
| OKLab | oklab(39.39% -0.0031 -0.1227) |
| OKLCH | oklch(39.39% 0.123 268.5) |
| XYZ | xyz(7.1454, 5.8172, 23.6632) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.26
Darkish Blue
#014182
ΔE00 5.07
Blueberry
#464196
ΔE00 5.36
Twilight Blue
#0A437A
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.05
Cobalt
#0047AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F87 #87732B
analogous
#2B6D87 #2B3F87 #452B87
triadic
#2B3F87 #872B3F #3F872B
tetradic
#2B3F87 #872B6D #87732B #2B8745
square
#2B3F87 #872B6D #87732B #2B8745
split-complementary
#2B3F87 #87452B #6D872B
monochromatic
#0D142A #1C2959 #2B3F87 #3A55B5 #6078CC
Accessibility & contrast
On white
9.71
#2B3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2B3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F87
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F87 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b3f87; /* rgb */ color: rgb(43, 63, 135); /* oklch */ color: oklch(39.4% 0.123 268.5);
Tailwind
colors: {
custom: {
50: '#6f73aa',
500: '#2b3f87',
950: '#000000',
},
}SCSS
$custom: #2b3f87; $custom-light: #6f73aa; $custom-dark: #000000;
JSON
{
"hex": "#2b3f87",
"rgb": {
"r": 43,
"g": 63,
"b": 135
},
"hsl": {
"h": 226.957,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.39385,
"c": 0.12276,
"h": 268.5
},
"luminance": 0.05818
}Semantic roles & 50–950 ramp
primary
#2B3F87
secondary
#B29F5B
accent
#BC4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F