#1245B4#1245B4
#1245B4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.184 H 262.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1245B4 |
|---|---|
| RGB | rgb(18, 69, 180) |
| HSL | hsl(221, 82%, 39%) |
| HSV | hsv(221, 90%, 71%) |
| CMYK | cmyk(90%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(33.30, 28.25, -62.96) |
| CIE-LCH | lch(33.30, 69.01, 294.16°) |
| OKLab | oklab(43.54% -0.0232 -0.1824) |
| OKLCH | oklch(43.54% 0.184 262.8) |
| XYZ | xyz(10.6128, 7.6787, 44.0939) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.13
Blue Blue
#2242C7
ΔE00 3.52
Sapphire
#0F52BA
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1245B4 #B48112
analogous
#1296B4 #1245B4 #3012B4
triadic
#1245B4 #B41245 #45B412
tetradic
#1245B4 #B41296 #B48112 #12B430
square
#1245B4 #B41296 #B48112 #12B430
split-complementary
#1245B4 #B43012 #96B412
monochromatic
#071A45 #0C307C #1245B4 #1B5CE8 #5383EE
Accessibility & contrast
On white
8.28
#1245B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1245B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1245B4
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1245B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1245B4 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1245b4; /* rgb */ color: rgb(18, 69, 180); /* oklch */ color: oklch(43.5% 0.184 262.8);
Tailwind
colors: {
custom: {
50: '#7378cb',
500: '#1245b4',
950: '#000000',
},
}SCSS
$custom: #1245b4; $custom-light: #7378cb; $custom-dark: #000000;
JSON
{
"hex": "#1245b4",
"rgb": {
"r": 18,
"g": 69,
"b": 180
},
"hsl": {
"h": 221.111,
"s": 81.818,
"l": 38.824
},
"oklch": {
"l": 0.43539,
"c": 0.18384,
"h": 262.8
},
"luminance": 0.0768
}Semantic roles & 50–950 ramp
primary
#1245B4
secondary
#D0A852
accent
#B930F8
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82