#2A5262#2A5262

#2A5262 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.052 H 226.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2A5262
RGBrgb(42, 82, 98)
HSLhsl(197, 40%, 27%)
HSVhsv(197, 57%, 38%)
CMYKcmyk(57.1%, 16.3%, 0%, 61.6%)
CIE-LABlab(32.72, -8.98, -13.61)
CIE-LCHlch(32.72, 16.31, 236.59°)
OKLaboklab(41.63% -0.0362 -0.0378)
OKLCHoklch(41.63% 0.052 226.2)
XYZxyz(6.1759, 7.4081, 12.6574)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5262 #623A2A
analogous
#2A6256 #2A5262 #2A3662
triadic
#2A5262 #622A52 #52622A
tetradic
#2A5262 #562A62 #623A2A #36622A
square
#2A5262 #562A62 #623A2A #36622A
split-complementary
#2A5262 #622A36 #62562A
monochromatic
#091215 #182E37 #2A5262 #3C768D #5298B5

Accessibility & contrast

On white

8.46
#2A5262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A5262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5262
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5262#FFFFFF#000000##FFFFFF
##2A52621.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#025757
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a5262;
/* rgb */ color: rgb(42, 82, 98);
/* oklch */ color: oklch(41.6% 0.052 226.2);
Tailwind
colors: {
  custom: {
    50: '#68828e',
    500: '#2a5262',
    950: '#000000',
  },
}
SCSS
$custom: #2a5262;
$custom-light: #68828e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5262",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 197.143,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.05235,
    "h": 226.2
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2A5262
secondary
#946653
accent
#7A58D0
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A5262

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

Preview Lab → · Contrast checker → · Palette generator →

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