#2A5F9C#2A5F9C
#2A5F9C is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.114 H 253.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F9C |
|---|---|
| RGB | rgb(42, 95, 156) |
| HSL | hsl(212, 58%, 39%) |
| HSV | hsv(212, 73%, 61%) |
| CMYK | cmyk(73.1%, 39.1%, 0%, 38.8%) |
| CIE-LAB | lab(39.71, 3.88, -38.30) |
| CIE-LCH | lch(39.71, 38.49, 275.78°) |
| OKLab | oklab(48.09% -0.0315 -0.1091) |
| OKLCH | oklch(48.09% 0.114 253.9) |
| XYZ | xyz(11.0456, 11.0757, 33.0017) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.85
Denim (survey)
#3B638C
ΔE00 2.98
Denim
#1560BD
ΔE00 3.56
Denim Blue
#3B5B92
ΔE00 3.58
Dusk Blue
#26538D
ΔE00 4.32
Mid Blue
#276AB3
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F9C #9C672A
analogous
#2A989C #2A5F9C #2E2A9C
triadic
#2A5F9C #9C2A5F #5F9C2A
tetradic
#2A5F9C #9C2A98 #9C672A #2A9C2E
square
#2A5F9C #9C2A98 #9C672A #2A9C2E
split-complementary
#2A5F9C #9C2E2A #989C2A
monochromatic
#10243C #1D426C #2A5F9C #397DCA #6A9CD7
Accessibility & contrast
On white
6.53
#2A5F9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A5F9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F9C
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F9C | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5f9c; /* rgb */ color: rgb(42, 95, 156); /* oklch */ color: oklch(48.1% 0.114 253.9);
Tailwind
colors: {
custom: {
50: '#728cb9',
500: '#2a5f9c',
950: '#000000',
},
}SCSS
$custom: #2a5f9c; $custom-light: #728cb9; $custom-dark: #000000;
JSON
{
"hex": "#2a5f9c",
"rgb": {
"r": 42,
"g": 95,
"b": 156
},
"hsl": {
"h": 212.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.48089,
"c": 0.11359,
"h": 253.9
},
"luminance": 0.11077
}Semantic roles & 50–950 ramp
primary
#2A5F9C
secondary
#BD9465
accent
#9947E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80