#254796#254796
#254796 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.136 H 263.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #254796 |
|---|---|
| RGB | rgb(37, 71, 150) |
| HSL | hsl(222, 60%, 37%) |
| HSV | hsv(222, 75%, 59%) |
| CMYK | cmyk(75.3%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.04, 16.72, -46.99) |
| CIE-LCH | lch(32.04, 49.87, 289.58°) |
| OKLab | oklab(42% -0.0143 -0.1352) |
| OKLCH | oklch(42% 0.136 263.9) |
| XYZ | xyz(8.5193, 7.1009, 29.7699) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Cobalt
#0047AB
ΔE00 3.06
Darkish Blue
#014182
ΔE00 4.45
Dusk Blue
#26538D
ΔE00 4.93
Twilight Blue
#0A437A
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254796 #967425
analogous
#258096 #254796 #3C2596
triadic
#254796 #962547 #479625
tetradic
#254796 #962580 #967425 #25963C
square
#254796 #962580 #967425 #25963C
split-complementary
#254796 #963C25 #809625
monochromatic
#0D1934 #193065 #254796 #315EC7 #5E83D7
Accessibility & contrast
On white
8.68
#254796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#254796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254796
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254796 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254796; /* rgb */ color: rgb(37, 71, 150); /* oklch */ color: oklch(42.0% 0.136 263.9);
Tailwind
colors: {
custom: {
50: '#7079b5',
500: '#254796',
950: '#000000',
},
}SCSS
$custom: #254796; $custom-light: #7079b5; $custom-dark: #000000;
JSON
{
"hex": "#254796",
"rgb": {
"r": 37,
"g": 71,
"b": 150
},
"hsl": {
"h": 221.947,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.41996,
"c": 0.13594,
"h": 263.9
},
"luminance": 0.07102
}Semantic roles & 50–950 ramp
primary
#254796
secondary
#BC9F5B
accent
#B444E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80