#245AB1#245AB1
#245AB1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.150 H 259.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #245AB1 |
|---|---|
| RGB | rgb(36, 90, 177) |
| HSL | hsl(217, 66%, 42%) |
| HSV | hsv(217, 80%, 69%) |
| CMYK | cmyk(79.7%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.34, 14.47, -51.35) |
| CIE-LCH | lch(39.34, 53.35, 285.73°) |
| OKLab | oklab(48.17% -0.0269 -0.1477) |
| OKLCH | oklch(48.17% 0.15 259.7) |
| XYZ | xyz(12.3166, 10.8603, 43.0335) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.67
Sapphire
#0F52BA
ΔE00 2.93
Denim Blue
#3B5B92
ΔE00 4.19
Dusk Blue
#26538D
ΔE00 4.78
Light Navy Blue
#2E5A88
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245AB1 #B17B24
analogous
#24A1B1 #245AB1 #3424B1
triadic
#245AB1 #B1245A #5AB124
tetradic
#245AB1 #B124A1 #B17B24 #24B134
square
#245AB1 #B124A1 #B17B24 #24B134
split-complementary
#245AB1 #B13424 #A1B124
monochromatic
#0F264B #1A407E #245AB1 #3B77D7 #6E9AE1
Accessibility & contrast
On white
6.62
#245AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#245AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245AB1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245AB1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2763B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #245ab1; /* rgb */ color: rgb(36, 90, 177); /* oklch */ color: oklch(48.2% 0.150 259.7);
Tailwind
colors: {
custom: {
50: '#7588c9',
500: '#245ab1',
950: '#000000',
},
}SCSS
$custom: #245ab1; $custom-light: #7588c9; $custom-dark: #000000;
JSON
{
"hex": "#245ab1",
"rgb": {
"r": 36,
"g": 90,
"b": 177
},
"hsl": {
"h": 217.021,
"s": 66.197,
"l": 41.765
},
"oklch": {
"l": 0.48173,
"c": 0.1501,
"h": 259.7
},
"luminance": 0.10862
}Semantic roles & 50–950 ramp
primary
#245AB1
secondary
#C8A469
accent
#A83FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82