#245AB2#245AB2
#245AB2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.151 H 259.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #245AB2 |
|---|---|
| RGB | rgb(36, 90, 178) |
| HSL | hsl(217, 66%, 42%) |
| HSV | hsv(217, 80%, 70%) |
| CMYK | cmyk(79.8%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.41, 14.86, -51.83) |
| CIE-LCH | lch(39.41, 53.92, 286.00°) |
| OKLab | oklab(48.25% -0.0267 -0.1491) |
| OKLCH | oklch(48.25% 0.151 259.8) |
| XYZ | xyz(12.4167, 10.9003, 43.5604) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.66
Sapphire
#0F52BA
ΔE00 2.87
Denim Blue
#3B5B92
ΔE00 4.28
Dusk Blue
#26538D
ΔE00 4.90
Light Navy Blue
#2E5A88
ΔE00 4.96
Denim (survey)
#3B638C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245AB2 #B27C24
analogous
#24A1B2 #245AB2 #3524B2
triadic
#245AB2 #B2245A #5AB224
tetradic
#245AB2 #B224A1 #B27C24 #24B235
square
#245AB2 #B224A1 #B27C24 #24B235
split-complementary
#245AB2 #B23524 #A1B224
monochromatic
#0F274C #1A407F #245AB2 #3C77D8 #6F9AE2
Accessibility & contrast
On white
6.60
#245AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#245AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245AB2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245AB2 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #245ab2; /* rgb */ color: rgb(36, 90, 178); /* oklch */ color: oklch(48.2% 0.151 259.8);
Tailwind
colors: {
custom: {
50: '#7588ca',
500: '#245ab2',
950: '#000000',
},
}SCSS
$custom: #245ab2; $custom-light: #7588ca; $custom-dark: #000000;
JSON
{
"hex": "#245ab2",
"rgb": {
"r": 36,
"g": 90,
"b": 178
},
"hsl": {
"h": 217.183,
"s": 66.355,
"l": 41.961
},
"oklch": {
"l": 0.48247,
"c": 0.15146,
"h": 259.8
},
"luminance": 0.10902
}Semantic roles & 50–950 ramp
primary
#245AB2
secondary
#C8A469
accent
#A83FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82