#2259B3#2259B3
#2259B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.155 H 259.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2259B3 |
|---|---|
| RGB | rgb(34, 89, 179) |
| HSL | hsl(217, 68%, 42%) |
| HSV | hsv(217, 81%, 70%) |
| CMYK | cmyk(81%, 50.3%, 0%, 29.8%) |
| CIE-LAB | lab(39.14, 15.70, -52.87) |
| CIE-LCH | lch(39.14, 55.15, 286.54°) |
| OKLab | oklab(48.04% -0.027 -0.1522) |
| OKLCH | oklch(48.04% 0.155 259.9) |
| XYZ | xyz(12.3658, 10.7380, 44.0600) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.51
Denim
#1560BD
ΔE00 2.89
Denim Blue
#3B5B92
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 4.88
Light Navy Blue
#2E5A88
ΔE00 5.07
Denim (survey)
#3B638C
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2259B3 #B37C22
analogous
#22A2B3 #2259B3 #3322B3
triadic
#2259B3 #B32259 #59B322
tetradic
#2259B3 #B322A2 #B37C22 #22B333
square
#2259B3 #B322A2 #B37C22 #22B333
split-complementary
#2259B3 #B33322 #A2B322
monochromatic
#0E264C #183F80 #2259B3 #3976D9 #6C99E3
Accessibility & contrast
On white
6.67
#2259B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2259B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2259B3
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2259B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2259B3 | 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)
#2163B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2259b3; /* rgb */ color: rgb(34, 89, 179); /* oklch */ color: oklch(48.0% 0.155 259.9);
Tailwind
colors: {
custom: {
50: '#7587ca',
500: '#2259b3',
950: '#000000',
},
}SCSS
$custom: #2259b3; $custom-light: #7587ca; $custom-dark: #000000;
JSON
{
"hex": "#2259b3",
"rgb": {
"r": 34,
"g": 89,
"b": 179
},
"hsl": {
"h": 217.241,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.4804,
"c": 0.15456,
"h": 259.9
},
"luminance": 0.1074
}Semantic roles & 50–950 ramp
primary
#2259B3
secondary
#C9A468
accent
#A93DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82