#2A5B71#2A5B71

#2A5B71 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.7% C 0.064 H 229.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2A5B71
RGBrgb(42, 91, 113)
HSLhsl(199, 46%, 30%)
HSVhsv(199, 63%, 44%)
CMYKcmyk(62.8%, 19.5%, 0%, 55.7%)
CIE-LABlab(36.30, -9.32, -17.49)
CIE-LCHlch(36.30, 19.81, 241.94°)
OKLaboklab(44.7% -0.0412 -0.0488)
OKLCHoklch(44.7% 0.064 229.8)
XYZxyz(7.6754, 9.1659, 16.9843)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B71 #71402A
analogous
#2A7163 #2A5B71 #2A3771
triadic
#2A5B71 #712A5B #5B712A
tetradic
#2A5B71 #632A71 #71402A #37712A
square
#2A5B71 #632A71 #71402A #37712A
split-complementary
#2A5B71 #712A37 #71632A
monochromatic
#091318 #193744 #2A5B71 #3B7F9E #559FC0

Accessibility & contrast

On white

7.41
#2A5B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A5B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B71
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B71#FFFFFF#000000##FFFFFF
##2A5B711.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#006162
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5b71;
/* rgb */ color: rgb(42, 91, 113);
/* oklch */ color: oklch(44.7% 0.064 229.8);
Tailwind
colors: {
  custom: {
    50: '#6b899a',
    500: '#2a5b71',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b71;
$custom-light: #6b899a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b71",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 113
  },
  "hsl": {
    "h": 198.592,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.06387,
    "h": 229.8
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#2A5B71
secondary
#A36C54
accent
#7B52D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5B71

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

Preview Lab → · Contrast checker → · Palette generator →

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