#2148B3#2148B3
#2148B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.176 H 264.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2148B3 |
|---|---|
| RGB | rgb(33, 72, 179) |
| HSL | hsl(224, 69%, 42%) |
| HSV | hsv(224, 82%, 70%) |
| CMYK | cmyk(81.6%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.42, 26.91, -60.53) |
| CIE-LCH | lch(34.42, 66.24, 293.97°) |
| OKLab | oklab(44.46% -0.0161 -0.175) |
| OKLCH | oklch(44.46% 0.176 264.7) |
| XYZ | xyz(11.0784, 8.2114, 43.6402) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.39
Blue Blue
#2242C7
ΔE00 3.66
Sapphire
#0F52BA
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148B3 #B38C21
analogous
#2191B3 #2148B3 #4321B3
triadic
#2148B3 #B32148 #48B321
tetradic
#2148B3 #B32191 #B38C21 #21B343
square
#2148B3 #B32191 #B38C21 #21B343
split-complementary
#2148B3 #B34321 #91B321
monochromatic
#0E1E4C #17337F #2148B3 #3763DA #6B8BE4
Accessibility & contrast
On white
7.95
#2148B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2148B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148B3
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148B3 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2148b3; /* rgb */ color: rgb(33, 72, 179); /* oklch */ color: oklch(44.5% 0.176 264.7);
Tailwind
colors: {
custom: {
50: '#767acb',
500: '#2148b3',
950: '#000000',
},
}SCSS
$custom: #2148b3; $custom-light: #767acb; $custom-dark: #000000;
JSON
{
"hex": "#2148b3",
"rgb": {
"r": 33,
"g": 72,
"b": 179
},
"hsl": {
"h": 223.973,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.44461,
"c": 0.17576,
"h": 264.7
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#2148B3
secondary
#CAAF66
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82