#2A6181#2A6181

#2A6181 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.0% C 0.078 H 237.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2A6181
RGBrgb(42, 97, 129)
HSLhsl(202, 51%, 34%)
HSVhsv(202, 67%, 51%)
CMYKcmyk(67.4%, 24.8%, 0%, 49.4%)
CIE-LABlab(38.94, -7.33, -23.22)
CIE-LCHlch(38.94, 24.35, 252.48°)
OKLaboklab(47.03% -0.042 -0.0652)
OKLCHoklch(47.03% 0.078 237.2)
XYZxyz(9.1905, 10.6257, 22.3312)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6181 #814A2A
analogous
#2A8175 #2A6181 #2A3581
triadic
#2A6181 #812A61 #61812A
tetradic
#2A6181 #752A81 #814A2A #35812A
square
#2A6181 #752A81 #814A2A #35812A
split-complementary
#2A6181 #812A35 #81752A
monochromatic
#0C1C25 #1B3E53 #2A6181 #3984AF #5CA1CA

Accessibility & contrast

On white

6.72
#2A6181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6181
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6181#FFFFFF#000000##FFFFFF
##2A61811.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526183
Deuteranopia (green-blind)
#465880
Tritanopia (blue-blind)
#00696C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6181;
/* rgb */ color: rgb(42, 97, 129);
/* oklch */ color: oklch(47.0% 0.078 237.2);
Tailwind
colors: {
  custom: {
    50: '#6e8da5',
    500: '#2a6181',
    950: '#000000',
  },
}
SCSS
$custom: #2a6181;
$custom-light: #6e8da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6181",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 129
  },
  "hsl": {
    "h": 202.069,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.07757,
    "h": 237.2
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#2A6181
secondary
#AF7857
accent
#814DDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6181

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

Preview Lab → · Contrast checker → · Palette generator →

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