#225197#225197
#225197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.126 H 258.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #225197 |
|---|---|
| RGB | rgb(34, 81, 151) |
| HSL | hsl(216, 63%, 36%) |
| HSV | hsv(216, 77%, 59%) |
| CMYK | cmyk(77.5%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(34.92, 9.97, -42.95) |
| CIE-LCH | lch(34.92, 44.10, 283.07°) |
| OKLab | oklab(44.2% -0.0251 -0.1232) |
| OKLCH | oklch(44.2% 0.126 258.5) |
| XYZ | xyz(9.1860, 8.4583, 30.4206) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.56
Cobalt (survey)
#1E488F
ΔE00 3.07
Light Navy
#155084
ΔE00 3.58
Light Navy Blue
#2E5A88
ΔE00 3.93
Denim Blue
#3B5B92
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225197 #976822
analogous
#228C97 #225197 #2D2297
triadic
#225197 #972251 #519722
tetradic
#225197 #97228C #976822 #22972D
square
#225197 #97228C #976822 #22972D
split-complementary
#225197 #972D22 #8C9722
monochromatic
#0C1B33 #173665 #225197 #2D6CC9 #5A8DDA
Accessibility & contrast
On white
7.80
#225197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#225197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225197
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225197 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #225197; /* rgb */ color: rgb(34, 81, 151); /* oklch */ color: oklch(44.2% 0.126 258.5);
Tailwind
colors: {
custom: {
50: '#6f81b6',
500: '#225197',
950: '#000000',
},
}SCSS
$custom: #225197; $custom-light: #6f81b6; $custom-dark: #000000;
JSON
{
"hex": "#225197",
"rgb": {
"r": 34,
"g": 81,
"b": 151
},
"hsl": {
"h": 215.897,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.44196,
"c": 0.1257,
"h": 258.5
},
"luminance": 0.08459
}Semantic roles & 50–950 ramp
primary
#225197
secondary
#BE9557
accent
#A442E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80