#2A6F9D#2A6F9D
#2A6F9D is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.100 H 241.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F9D |
|---|---|
| RGB | rgb(42, 111, 157) |
| HSL | hsl(204, 58%, 39%) |
| HSV | hsv(204, 73%, 62%) |
| CMYK | cmyk(73.2%, 29.3%, 0%, 38.4%) |
| CIE-LAB | lab(44.65, -5.66, -31.09) |
| CIE-LCH | lch(44.65, 31.60, 259.68°) |
| OKLab | oklab(51.99% -0.0473 -0.0879) |
| OKLCH | oklch(51.99% 0.1 241.7) |
| XYZ | xyz(12.7227, 14.2940, 33.9802) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.35
Ocean Blue (survey)
#03719C
ΔE00 3.39
Peacock Blue
#016795
ΔE00 3.64
Flat Blue
#3C73A8
ΔE00 3.64
Ugly Blue
#31668A
ΔE00 3.85
Dull Blue
#49759C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F9D #9D582A
analogous
#2A9D92 #2A6F9D #2A369D
triadic
#2A6F9D #9D2A6F #6F9D2A
tetradic
#2A6F9D #922A9D #9D582A #369D2A
square
#2A6F9D #922A9D #9D582A #369D2A
split-complementary
#2A6F9D #9D2A36 #9D922A
monochromatic
#102B3C #1D4D6D #2A6F9D #3A91CA #6AACD7
Accessibility & contrast
On white
5.44
#2A6F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2A6F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F9D
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F9D | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2a6f9d; /* rgb */ color: rgb(42, 111, 157); /* oklch */ color: oklch(52.0% 0.100 241.7);
Tailwind
colors: {
custom: {
50: '#7398ba',
500: '#2a6f9d',
950: '#000000',
},
}SCSS
$custom: #2a6f9d; $custom-light: #7398ba; $custom-dark: #000000;
JSON
{
"hex": "#2a6f9d",
"rgb": {
"r": 42,
"g": 111,
"b": 157
},
"hsl": {
"h": 204,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.51993,
"c": 0.09976,
"h": 241.7
},
"luminance": 0.14295
}Semantic roles & 50–950 ramp
primary
#2A6F9D
secondary
#BE8965
accent
#8447E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80