#2A5168#2A5168

#2A5168 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.059 H 236.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2A5168
RGBrgb(42, 81, 104)
HSLhsl(202, 42%, 29%)
HSVhsv(202, 60%, 41%)
CMYKcmyk(59.6%, 22.1%, 0%, 59.2%)
CIE-LABlab(32.65, -6.33, -17.50)
CIE-LCHlch(32.65, 18.61, 250.12°)
OKLaboklab(41.66% -0.0325 -0.0489)
OKLCHoklch(41.66% 0.059 236.4)
XYZxyz(6.3950, 7.3760, 14.1807)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5168 #68412A
analogous
#2A6860 #2A5168 #2A3268
triadic
#2A5168 #682A51 #51682A
tetradic
#2A5168 #602A68 #68412A #32682A
square
#2A5168 #602A68 #68412A #32682A
split-complementary
#2A5168 #682A32 #68602A
monochromatic
#091116 #182F3C #2A5168 #3C7394 #5393B9

Accessibility & contrast

On white

8.48
#2A5168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5168
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5168#FFFFFF#000000##FFFFFF
##2A51681.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465069
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a5168;
/* rgb */ color: rgb(42, 81, 104);
/* oklch */ color: oklch(41.7% 0.059 236.4);
Tailwind
colors: {
  custom: {
    50: '#698193',
    500: '#2a5168',
    950: '#000000',
  },
}
SCSS
$custom: #2a5168;
$custom-light: #698193;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5168",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 104
  },
  "hsl": {
    "h": 202.258,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.05868,
    "h": 236.4
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#2A5168
secondary
#9A6E54
accent
#8456D2
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A5168

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

Preview Lab → · Contrast checker → · Palette generator →

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