#245AB4#245AB4
#245AB4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.154 H 260.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #245AB4 |
|---|---|
| RGB | rgb(36, 90, 180) |
| HSL | hsl(218, 67%, 42%) |
| HSV | hsv(218, 80%, 71%) |
| CMYK | cmyk(80%, 50%, 0%, 29.4%) |
| CIE-LAB | lab(39.55, 15.64, -52.79) |
| CIE-LCH | lch(39.55, 55.06, 286.50°) |
| OKLab | oklab(48.4% -0.0264 -0.1519) |
| OKLCH | oklch(48.4% 0.154 260.1) |
| XYZ | xyz(12.6189, 10.9812, 44.6257) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.63
Sapphire
#0F52BA
ΔE00 2.77
Denim Blue
#3B5B92
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 5.13
Light Navy Blue
#2E5A88
ΔE00 5.19
Denim (survey)
#3B638C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245AB4 #B47E24
analogous
#24A2B4 #245AB4 #3624B4
triadic
#245AB4 #B4245A #5AB424
tetradic
#245AB4 #B424A2 #B47E24 #24B436
square
#245AB4 #B424A2 #B47E24 #24B436
split-complementary
#245AB4 #B43624 #A2B424
monochromatic
#10274E #1A4181 #245AB4 #3D77D8 #709BE2
Accessibility & contrast
On white
6.57
#245AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#245AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245AB4
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245AB4 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #245ab4; /* rgb */ color: rgb(36, 90, 180); /* oklch */ color: oklch(48.4% 0.154 260.1);
Tailwind
colors: {
custom: {
50: '#7688cb',
500: '#245ab4',
950: '#000000',
},
}SCSS
$custom: #245ab4; $custom-light: #7688cb; $custom-dark: #000000;
JSON
{
"hex": "#245ab4",
"rgb": {
"r": 36,
"g": 90,
"b": 180
},
"hsl": {
"h": 217.5,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.48395,
"c": 0.15417,
"h": 260.1
},
"luminance": 0.10983
}Semantic roles & 50–950 ramp
primary
#245AB4
secondary
#C9A66B
accent
#A93EEA
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82