#2A4F90#2A4F90
#2A4F90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.115 H 260.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F90 |
|---|---|
| RGB | rgb(42, 79, 144) |
| HSL | hsl(218, 55%, 36%) |
| HSV | hsv(218, 71%, 56%) |
| CMYK | cmyk(70.8%, 45.1%, 0%, 43.5%) |
| CIE-LAB | lab(34.18, 9.74, -39.87) |
| CIE-LCH | lch(34.18, 41.04, 283.73°) |
| OKLab | oklab(43.57% -0.0185 -0.114) |
| OKLCH | oklch(43.57% 0.115 260.8) |
| XYZ | xyz(8.7831, 8.0969, 27.4801) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.13
Cobalt (survey)
#1E488F
ΔE00 2.29
Denim Blue
#3B5B92
ΔE00 4.07
Light Navy
#155084
ΔE00 4.10
Light Navy Blue
#2E5A88
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F90 #906B2A
analogous
#2A8290 #2A4F90 #382A90
triadic
#2A4F90 #902A4F #4F902A
tetradic
#2A4F90 #902A82 #906B2A #2A9038
square
#2A4F90 #902A82 #906B2A #2A9038
split-complementary
#2A4F90 #90382A #82902A
monochromatic
#0E1B31 #1C3561 #2A4F90 #3869BF #638BD1
Accessibility & contrast
On white
8.02
#2A4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2A4F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F90
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F90 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4f90; /* rgb */ color: rgb(42, 79, 144); /* oklch */ color: oklch(43.6% 0.115 260.8);
Tailwind
colors: {
custom: {
50: '#707fb1',
500: '#2a4f90',
950: '#000000',
},
}SCSS
$custom: #2a4f90; $custom-light: #707fb1; $custom-dark: #000000;
JSON
{
"hex": "#2a4f90",
"rgb": {
"r": 42,
"g": 79,
"b": 144
},
"hsl": {
"h": 218.235,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.4357,
"c": 0.11548,
"h": 260.8
},
"luminance": 0.08098
}Semantic roles & 50–950 ramp
primary
#2A4F90
secondary
#B7975E
accent
#A84ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80