#2B498F#2B498F
#2B498F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.121 H 264.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B498F |
|---|---|
| RGB | rgb(43, 73, 143) |
| HSL | hsl(222, 54%, 36%) |
| HSV | hsv(222, 70%, 56%) |
| CMYK | cmyk(69.9%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(32.39, 13.55, -42.13) |
| CIE-LCH | lch(32.39, 44.25, 287.83°) |
| OKLab | oklab(42.19% -0.0119 -0.1207) |
| OKLCH | oklch(42.19% 0.121 264.4) |
| XYZ | xyz(8.3350, 7.2610, 26.9435) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.62
Cobalt
#0047AB
ΔE00 4.20
Dusk Blue
#26538D
ΔE00 4.33
Darkish Blue
#014182
ΔE00 4.44
Twilight Blue
#0A437A
ΔE00 5.01
Light Navy
#155084
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B498F #8F712B
analogous
#2B7B8F #2B498F #3F2B8F
triadic
#2B498F #8F2B49 #498F2B
tetradic
#2B498F #8F2B7B #8F712B #2B8F3F
square
#2B498F #8F2B7B #8F712B #2B8F3F
split-complementary
#2B498F #8F3F2B #7B8F2B
monochromatic
#0F1931 #1D3160 #2B498F #3961BE #6485D0
Accessibility & contrast
On white
8.56
#2B498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2B498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B498F
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B498F | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b498f; /* rgb */ color: rgb(43, 73, 143); /* oklch */ color: oklch(42.2% 0.121 264.4);
Tailwind
colors: {
custom: {
50: '#717bb0',
500: '#2b498f',
950: '#000000',
},
}SCSS
$custom: #2b498f; $custom-light: #717bb0; $custom-dark: #000000;
JSON
{
"hex": "#2b498f",
"rgb": {
"r": 43,
"g": 73,
"b": 143
},
"hsl": {
"h": 222,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.42187,
"c": 0.12131,
"h": 264.4
},
"luminance": 0.07262
}Semantic roles & 50–950 ramp
primary
#2B498F
secondary
#B79C5F
accent
#B14BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F