#2A5166#2A5166

#2A5166 is a dark, muted cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.057 H 233.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A5166
RGBrgb(42, 81, 102)
HSLhsl(201, 42%, 28%)
HSVhsv(201, 59%, 40%)
CMYKcmyk(58.8%, 20.6%, 0%, 60%)
CIE-LABlab(32.56, -7.02, -16.38)
CIE-LCHlch(32.56, 17.82, 246.81°)
OKLaboklab(41.56% -0.0333 -0.0457)
OKLCHoklch(41.56% 0.057 233.9)
XYZxyz(6.2947, 7.3359, 13.6520)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5166 #663F2A
analogous
#2A665D #2A5166 #2A3366
triadic
#2A5166 #662A51 #51662A
tetradic
#2A5166 #5D2A66 #663F2A #33662A
square
#2A5166 #5D2A66 #663F2A #33662A
split-complementary
#2A5166 #662A33 #665D2A
monochromatic
#091116 #182F3B #2A5166 #3C7391 #5294B8

Accessibility & contrast

On white

8.51
#2A5166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A5166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5166
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5166#FFFFFF#000000##FFFFFF
##2A51661.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475067
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#005758
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a5166;
/* rgb */ color: rgb(42, 81, 102);
/* oklch */ color: oklch(41.6% 0.057 233.9);
Tailwind
colors: {
  custom: {
    50: '#698191',
    500: '#2a5166',
    950: '#000000',
  },
}
SCSS
$custom: #2a5166;
$custom-light: #698191;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5166",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 201,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.0565,
    "h": 233.9
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#2A5166
secondary
#986C54
accent
#8156D1
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2A5166

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

Preview Lab → · Contrast checker → · Palette generator →

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