#2B508F#2B508F
#2B508F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.112 H 260.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B508F |
|---|---|
| RGB | rgb(43, 80, 143) |
| HSL | hsl(218, 54%, 36%) |
| HSV | hsv(218, 70%, 56%) |
| CMYK | cmyk(69.9%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(34.46, 8.86, -38.81) |
| CIE-LCH | lch(34.46, 39.81, 282.86°) |
| OKLab | oklab(43.78% -0.0189 -0.1108) |
| OKLCH | oklch(43.78% 0.112 260.3) |
| XYZ | xyz(8.8211, 8.2332, 27.1056) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.83
Cobalt (survey)
#1E488F
ΔE00 2.63
Denim Blue
#3B5B92
ΔE00 3.76
Light Navy
#155084
ΔE00 3.93
Light Navy Blue
#2E5A88
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B508F #8F6A2B
analogous
#2B828F #2B508F #382B8F
triadic
#2B508F #8F2B50 #508F2B
tetradic
#2B508F #8F2B82 #8F6A2B #2B8F38
square
#2B508F #8F2B82 #8F6A2B #2B8F38
split-complementary
#2B508F #8F382B #828F2B
monochromatic
#0F1B31 #1D3660 #2B508F #396ABE #648CD0
Accessibility & contrast
On white
7.93
#2B508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2B508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B508F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B508F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b508f; /* rgb */ color: rgb(43, 80, 143); /* oklch */ color: oklch(43.8% 0.112 260.3);
Tailwind
colors: {
custom: {
50: '#7080b0',
500: '#2b508f',
950: '#000000',
},
}SCSS
$custom: #2b508f; $custom-light: #7080b0; $custom-dark: #000000;
JSON
{
"hex": "#2b508f",
"rgb": {
"r": 43,
"g": 80,
"b": 143
},
"hsl": {
"h": 217.8,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.43778,
"c": 0.11244,
"h": 260.3
},
"luminance": 0.08234
}Semantic roles & 50–950 ramp
primary
#2B508F
secondary
#B7965F
accent
#A74BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F