#2A4F8F#2A4F8F
#2A4F8F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.114 H 260.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F8F |
|---|---|
| RGB | rgb(42, 79, 143) |
| HSL | hsl(218, 55%, 36%) |
| HSV | hsv(218, 71%, 56%) |
| CMYK | cmyk(70.6%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(34.12, 9.36, -39.36) |
| CIE-LCH | lch(34.12, 40.46, 283.37°) |
| OKLab | oklab(43.5% -0.0187 -0.1125) |
| OKLCH | oklch(43.5% 0.114 260.6) |
| XYZ | xyz(8.7070, 8.0665, 27.0794) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.06
Cobalt (survey)
#1E488F
ΔE00 2.30
Light Navy
#155084
ΔE00 4.00
Denim Blue
#3B5B92
ΔE00 4.07
Light Navy Blue
#2E5A88
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F8F #8F6A2A
analogous
#2A828F #2A4F8F #382A8F
triadic
#2A4F8F #8F2A4F #4F8F2A
tetradic
#2A4F8F #8F2A82 #8F6A2A #2A8F38
square
#2A4F8F #8F2A82 #8F6A2A #2A8F38
split-complementary
#2A4F8F #8F382A #828F2A
monochromatic
#0E1B30 #1C3560 #2A4F8F #3869BE #628BD1
Accessibility & contrast
On white
8.04
#2A4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A4F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F8F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F8F | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1E4C8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4f8f; /* rgb */ color: rgb(42, 79, 143); /* oklch */ color: oklch(43.5% 0.114 260.6);
Tailwind
colors: {
custom: {
50: '#707fb0',
500: '#2a4f8f',
950: '#000000',
},
}SCSS
$custom: #2a4f8f; $custom-light: #707fb0; $custom-dark: #000000;
JSON
{
"hex": "#2a4f8f",
"rgb": {
"r": 42,
"g": 79,
"b": 143
},
"hsl": {
"h": 218.02,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.43501,
"c": 0.11404,
"h": 260.6
},
"luminance": 0.08067
}Semantic roles & 50–950 ramp
primary
#2A4F8F
secondary
#B7965E
accent
#A84ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F