#2456B4#2456B4
#2456B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.159 H 261.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2456B4 |
|---|---|
| RGB | rgb(36, 86, 180) |
| HSL | hsl(219, 67%, 42%) |
| HSV | hsv(219, 80%, 71%) |
| CMYK | cmyk(80%, 52.2%, 0%, 29.4%) |
| CIE-LAB | lab(38.42, 18.28, -54.61) |
| CIE-LCH | lch(38.42, 57.59, 288.50°) |
| OKLab | oklab(47.53% -0.0234 -0.1573) |
| OKLCH | oklch(47.53% 0.159 261.5) |
| XYZ | xyz(12.2906, 10.3245, 44.5162) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.57
Denim
#1560BD
ΔE00 4.02
Denim Blue
#3B5B92
ΔE00 4.74
Cobalt
#0047AB
ΔE00 4.89
Dusk Blue
#26538D
ΔE00 5.00
Light Navy Blue
#2E5A88
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2456B4 #B48224
analogous
#249EB4 #2456B4 #3A24B4
triadic
#2456B4 #B42456 #56B424
tetradic
#2456B4 #B4249E #B48224 #24B43A
square
#2456B4 #B4249E #B48224 #24B43A
split-complementary
#2456B4 #B43A24 #9EB424
monochromatic
#10254E #1A3E81 #2456B4 #3D73D8 #7098E2
Accessibility & contrast
On white
6.85
#2456B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2456B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2456B4
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2456B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2456B4 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2456b4; /* rgb */ color: rgb(36, 86, 180); /* oklch */ color: oklch(47.5% 0.159 261.5);
Tailwind
colors: {
custom: {
50: '#7685cb',
500: '#2456b4',
950: '#000000',
},
}SCSS
$custom: #2456b4; $custom-light: #7685cb; $custom-dark: #000000;
JSON
{
"hex": "#2456b4",
"rgb": {
"r": 36,
"g": 86,
"b": 180
},
"hsl": {
"h": 219.167,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.47532,
"c": 0.15909,
"h": 261.5
},
"luminance": 0.10326
}Semantic roles & 50–950 ramp
primary
#2456B4
secondary
#C9A86B
accent
#AE3EEA
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82