#2A468C#2A468C
#2A468C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.121 H 265.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A468C |
|---|---|
| RGB | rgb(42, 70, 140) |
| HSL | hsl(223, 54%, 36%) |
| HSV | hsv(223, 70%, 55%) |
| CMYK | cmyk(70%, 50%, 0%, 45.1%) |
| CIE-LAB | lab(31.27, 14.26, -42.10) |
| CIE-LCH | lch(31.27, 44.45, 288.71°) |
| OKLab | oklab(41.25% -0.0103 -0.1207) |
| OKLCH | oklch(41.25% 0.121 265.1) |
| XYZ | xyz(7.8770, 6.7652, 25.6966) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.00
Darkish Blue
#014182
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.56
Twilight Blue
#0A437A
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.22
Prussian Blue
#004577
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A468C #8C702A
analogous
#2A778C #2A468C #3F2A8C
triadic
#2A468C #8C2A46 #468C2A
tetradic
#2A468C #8C2A77 #8C702A #2A8C3F
square
#2A468C #8C2A77 #8C702A #2A8C3F
split-complementary
#2A468C #8C3F2A #778C2A
monochromatic
#0E172E #1C2E5D #2A468C #385EBB #6180D0
Accessibility & contrast
On white
8.92
#2A468C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A468C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A468C
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A468C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A468C | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a468c; /* rgb */ color: rgb(42, 70, 140); /* oklch */ color: oklch(41.2% 0.121 265.1);
Tailwind
colors: {
custom: {
50: '#7079ae',
500: '#2a468c',
950: '#000000',
},
}SCSS
$custom: #2a468c; $custom-light: #7079ae; $custom-dark: #000000;
JSON
{
"hex": "#2a468c",
"rgb": {
"r": 42,
"g": 70,
"b": 140
},
"hsl": {
"h": 222.857,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.41247,
"c": 0.12116,
"h": 265.1
},
"luminance": 0.06766
}Semantic roles & 50–950 ramp
primary
#2A468C
secondary
#B59C5C
accent
#B34BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F