#2257BB#2257BB
#2257BB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.168 H 261.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2257BB |
|---|---|
| RGB | rgb(34, 87, 187) |
| HSL | hsl(219, 69%, 43%) |
| HSV | hsv(219, 82%, 73%) |
| CMYK | cmyk(81.8%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(39.14, 20.15, -57.55) |
| CIE-LCH | lch(39.14, 60.98, 289.30°) |
| OKLab | oklab(48.23% -0.0246 -0.166) |
| OKLCH | oklch(48.23% 0.168 261.6) |
| XYZ | xyz(13.0343, 10.7427, 48.3907) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.71
Denim
#1560BD
ΔE00 3.71
Denim Blue
#3B5B92
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 5.82
Light Navy Blue
#2E5A88
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2257BB #BB8622
analogous
#22A3BB #2257BB #3A22BB
triadic
#2257BB #BB2257 #57BB22
tetradic
#2257BB #BB22A3 #BB8622 #22BB3A
square
#2257BB #BB22A3 #BB8622 #22BB3A
split-complementary
#2257BB #BB3A22 #A3BB22
monochromatic
#0F2753 #193F87 #2257BB #3E75DC #729AE5
Accessibility & contrast
On white
6.67
#2257BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2257BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2257BB
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2257BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2257BB | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0363BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2257bb; /* rgb */ color: rgb(34, 87, 187); /* oklch */ color: oklch(48.2% 0.168 261.6);
Tailwind
colors: {
custom: {
50: '#7785d0',
500: '#2257bb',
950: '#000000',
},
}SCSS
$custom: #2257bb; $custom-light: #7785d0; $custom-dark: #000000;
JSON
{
"hex": "#2257bb",
"rgb": {
"r": 34,
"g": 87,
"b": 187
},
"hsl": {
"h": 219.216,
"s": 69.231,
"l": 43.333
},
"oklch": {
"l": 0.48227,
"c": 0.16781,
"h": 261.6
},
"luminance": 0.10744
}Semantic roles & 50–950 ramp
primary
#2257BB
secondary
#CCAB6D
accent
#AF3CEC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82