#2259AF#2259AF
#2259AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.149 H 259.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2259AF |
|---|---|
| RGB | rgb(34, 89, 175) |
| HSL | hsl(217, 67%, 41%) |
| HSV | hsv(217, 81%, 69%) |
| CMYK | cmyk(80.6%, 49.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.86, 14.13, -50.95) |
| CIE-LCH | lch(38.86, 52.88, 285.50°) |
| OKLab | oklab(47.74% -0.0276 -0.1465) |
| OKLCH | oklch(47.74% 0.149 259.3) |
| XYZ | xyz(11.9671, 10.5786, 41.9603) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.78
Denim
#1560BD
ΔE00 2.97
Denim Blue
#3B5B92
ΔE00 4.09
Dusk Blue
#26538D
ΔE00 4.41
Light Navy Blue
#2E5A88
ΔE00 4.63
Denim (survey)
#3B638C
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2259AF #AF7822
analogous
#229FAF #2259AF #3222AF
triadic
#2259AF #AF2259 #59AF22
tetradic
#2259AF #AF229F #AF7822 #22AF32
square
#2259AF #AF229F #AF7822 #22AF32
split-complementary
#2259AF #AF3222 #9FAF22
monochromatic
#0E2549 #183F7C #2259AF #3675D8 #6998E2
Accessibility & contrast
On white
6.74
#2259AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2259AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2259AF
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2259AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2259AF | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2259af; /* rgb */ color: rgb(34, 89, 175); /* oklch */ color: oklch(47.7% 0.149 259.3);
Tailwind
colors: {
custom: {
50: '#7487c7',
500: '#2259af',
950: '#000000',
},
}SCSS
$custom: #2259af; $custom-light: #7487c7; $custom-dark: #000000;
JSON
{
"hex": "#2259af",
"rgb": {
"r": 34,
"g": 89,
"b": 175
},
"hsl": {
"h": 216.596,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.47742,
"c": 0.14912,
"h": 259.3
},
"luminance": 0.1058
}Semantic roles & 50–950 ramp
primary
#2259AF
secondary
#C8A165
accent
#A73DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82