#2440AF#2440AF
#2440AF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.179 H 267.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2440AF |
|---|---|
| RGB | rgb(36, 64, 175) |
| HSL | hsl(228, 66%, 41%) |
| HSV | hsv(228, 79%, 69%) |
| CMYK | cmyk(79.4%, 63.4%, 0%, 31.4%) |
| CIE-LAB | lab(32.11, 30.96, -61.92) |
| CIE-LCH | lch(32.11, 69.23, 296.57°) |
| OKLab | oklab(42.67% -0.0091 -0.1791) |
| OKLCH | oklch(42.67% 0.179 267.1) |
| XYZ | xyz(10.2961, 7.1358, 41.3838) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blue Blue
#2242C7
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 5.64
Blueberry
#464196
ΔE00 5.80
Blue (survey)
#0343DF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2440AF #AF9324
analogous
#2486AF #2440AF #4E24AF
triadic
#2440AF #AF2440 #40AF24
tetradic
#2440AF #AF2486 #AF9324 #24AF4E
square
#2440AF #AF2486 #AF9324 #24AF4E
split-complementary
#2440AF #AF4E24 #86AF24
monochromatic
#0F1B49 #1A2D7C #2440AF #3A59D6 #6D84E1
Accessibility & contrast
On white
8.65
#2440AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2440AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2440AF
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2440AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2440AF | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2440af; /* rgb */ color: rgb(36, 64, 175); /* oklch */ color: oklch(42.7% 0.179 267.1);
Tailwind
colors: {
custom: {
50: '#7674c8',
500: '#2440af',
950: '#000000',
},
}SCSS
$custom: #2440af; $custom-light: #7674c8; $custom-dark: #000000;
JSON
{
"hex": "#2440af",
"rgb": {
"r": 36,
"g": 64,
"b": 175
},
"hsl": {
"h": 227.914,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.42673,
"c": 0.17938,
"h": 267.1
},
"luminance": 0.07137
}Semantic roles & 50–950 ramp
primary
#2440AF
secondary
#C7B468
accent
#C73FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82