#2A5175#2A5175

#2A5175 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.075 H 248.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2A5175
RGBrgb(42, 81, 117)
HSLhsl(209, 47%, 31%)
HSVhsv(209, 64%, 46%)
CMYKcmyk(64.1%, 30.8%, 0%, 54.1%)
CIE-LABlab(33.27, -1.71, -24.68)
CIE-LCHlch(33.27, 24.74, 266.04°)
OKLaboklab(42.36% -0.0277 -0.0696)
OKLCHoklch(42.36% 0.075 248.3)
XYZxyz(7.1070, 7.6608, 17.9303)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5175 #754E2A
analogous
#2A7573 #2A5175 #2A2B75
triadic
#2A5175 #752A51 #51752A
tetradic
#2A5175 #732A75 #754E2A #2B752A
square
#2A5175 #732A75 #754E2A #2B752A
split-complementary
#2A5175 #752A2B #75732A
monochromatic
#0A131B #1A3248 #2A5175 #3A70A2 #578FC3

Accessibility & contrast

On white

8.29
#2A5175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A5175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5175
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5175#FFFFFF#000000##FFFFFF
##2A51751.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425277
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5175;
/* rgb */ color: rgb(42, 81, 117);
/* oklch */ color: oklch(42.4% 0.075 248.3);
Tailwind
colors: {
  custom: {
    50: '#6b819d',
    500: '#2a5175',
    950: '#000000',
  },
}
SCSS
$custom: #2a5175;
$custom-light: #6b819d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5175",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 208.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.0749,
    "h": 248.3
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#2A5175
secondary
#A77C54
accent
#9151D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5175

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A5175 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva