#245AB0#245AB0
#245AB0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.149 H 259.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #245AB0 |
|---|---|
| RGB | rgb(36, 90, 176) |
| HSL | hsl(217, 66%, 42%) |
| HSV | hsv(217, 80%, 69%) |
| CMYK | cmyk(79.5%, 48.9%, 0%, 31%) |
| CIE-LAB | lab(39.28, 14.08, -50.87) |
| CIE-LCH | lch(39.28, 52.78, 285.47°) |
| OKLab | oklab(48.1% -0.027 -0.1462) |
| OKLCH | oklch(48.1% 0.149 259.5) |
| XYZ | xyz(12.2173, 10.8205, 42.5105) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.70
Sapphire
#0F52BA
ΔE00 2.99
Denim Blue
#3B5B92
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.67
Light Navy Blue
#2E5A88
ΔE00 4.74
Denim (survey)
#3B638C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245AB0 #B07A24
analogous
#24A0B0 #245AB0 #3424B0
triadic
#245AB0 #B0245A #5AB024
tetradic
#245AB0 #B024A0 #B07A24 #24B034
square
#245AB0 #B024A0 #B07A24 #24B034
split-complementary
#245AB0 #B03424 #A0B024
monochromatic
#0F264A #1A407D #245AB0 #3A77D7 #6D9AE1
Accessibility & contrast
On white
6.64
#245AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#245AB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245AB0
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245AB0 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #245ab0; /* rgb */ color: rgb(36, 90, 176); /* oklch */ color: oklch(48.1% 0.149 259.5);
Tailwind
colors: {
custom: {
50: '#7588c8',
500: '#245ab0',
950: '#000000',
},
}SCSS
$custom: #245ab0; $custom-light: #7588c8; $custom-dark: #000000;
JSON
{
"hex": "#245ab0",
"rgb": {
"r": 36,
"g": 90,
"b": 176
},
"hsl": {
"h": 216.857,
"s": 66.038,
"l": 41.569
},
"oklch": {
"l": 0.481,
"c": 0.14873,
"h": 259.5
},
"luminance": 0.10822
}Semantic roles & 50–950 ramp
primary
#245AB0
secondary
#C8A368
accent
#A73FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82