#2A4D62#2A4D62

#2A4D62 is a dark, muted cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.054 H 236.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2A4D62
RGBrgb(42, 77, 98)
HSLhsl(203, 40%, 27%)
HSVhsv(203, 57%, 38%)
CMYKcmyk(57.1%, 21.4%, 0%, 61.6%)
CIE-LABlab(31.07, -5.90, -16.14)
CIE-LCHlch(31.07, 17.19, 249.93°)
OKLaboklab(40.32% -0.0297 -0.045)
OKLCHoklch(40.32% 0.054 236.6)
XYZxyz(5.8125, 6.6813, 12.5362)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D62 #623F2A
analogous
#2A625B #2A4D62 #2A3162
triadic
#2A4D62 #622A4D #4D622A
tetradic
#2A4D62 #5B2A62 #623F2A #31622A
square
#2A4D62 #5B2A62 #623F2A #31622A
split-complementary
#2A4D62 #622A31 #625B2A
monochromatic
#091115 #182B37 #2A4D62 #3C6F8D #5290B5

Accessibility & contrast

On white

8.99
#2A4D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D62
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D62#FFFFFF#000000##FFFFFF
##2A4D621.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#3C4762
Tritanopia (blue-blind)
#055254
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4d62;
/* rgb */ color: rgb(42, 77, 98);
/* oklch */ color: oklch(40.3% 0.054 236.6);
Tailwind
colors: {
  custom: {
    50: '#687e8e',
    500: '#2a4d62',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d62;
$custom-light: #687e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d62",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 98
  },
  "hsl": {
    "h": 202.5,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.05392,
    "h": 236.6
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#2A4D62
secondary
#946C53
accent
#8558D0
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A4D62

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

Preview Lab → · Contrast checker → · Palette generator →

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