#2A5F9D#2A5F9D
#2A5F9D is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.115 H 254.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F9D |
|---|---|
| RGB | rgb(42, 95, 157) |
| HSL | hsl(212, 58%, 39%) |
| HSV | hsv(212, 73%, 62%) |
| CMYK | cmyk(73.2%, 39.5%, 0%, 38.4%) |
| CIE-LAB | lab(39.76, 4.26, -38.80) |
| CIE-LCH | lch(39.76, 39.04, 276.26°) |
| OKLab | oklab(48.15% -0.0313 -0.1106) |
| OKLCH | oklch(48.15% 0.115 254.2) |
| XYZ | xyz(11.1306, 11.1098, 33.4495) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.95
Denim (survey)
#3B638C
ΔE00 3.05
Denim
#1560BD
ΔE00 3.45
Denim Blue
#3B5B92
ΔE00 3.56
Dusk Blue
#26538D
ΔE00 4.34
Mid Blue
#276AB3
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F9D #9D682A
analogous
#2A999D #2A5F9D #2F2A9D
triadic
#2A5F9D #9D2A5F #5F9D2A
tetradic
#2A5F9D #9D2A99 #9D682A #2A9D2F
square
#2A5F9D #9D2A99 #9D682A #2A9D2F
split-complementary
#2A5F9D #9D2F2A #999D2A
monochromatic
#10253C #1D426D #2A5F9D #3A7CCA #6A9CD7
Accessibility & contrast
On white
6.52
#2A5F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A5F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F9D
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F9D | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5f9d; /* rgb */ color: rgb(42, 95, 157); /* oklch */ color: oklch(48.2% 0.115 254.2);
Tailwind
colors: {
custom: {
50: '#738cba',
500: '#2a5f9d',
950: '#000000',
},
}SCSS
$custom: #2a5f9d; $custom-light: #738cba; $custom-dark: #000000;
JSON
{
"hex": "#2a5f9d",
"rgb": {
"r": 42,
"g": 95,
"b": 157
},
"hsl": {
"h": 212.348,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.48152,
"c": 0.11495,
"h": 254.2
},
"luminance": 0.11111
}Semantic roles & 50–950 ramp
primary
#2A5F9D
secondary
#BE9565
accent
#9A47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80