#2A4E62#2A4E62

#2A4E62 is a dark, muted cyan. Relative luminance 0.068; OKLCH L 40.6% C 0.053 H 234.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2A4E62
RGBrgb(42, 78, 98)
HSLhsl(201, 40%, 27%)
HSVhsv(201, 57%, 38%)
CMYKcmyk(57.1%, 20.4%, 0%, 61.6%)
CIE-LABlab(31.40, -6.52, -15.63)
CIE-LCHlch(31.40, 16.94, 247.35°)
OKLaboklab(40.58% -0.031 -0.0435)
OKLCHoklch(40.58% 0.053 234.5)
XYZxyz(5.8830, 6.8224, 12.5597)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E62 #623E2A
analogous
#2A625A #2A4E62 #2A3262
triadic
#2A4E62 #622A4E #4E622A
tetradic
#2A4E62 #5A2A62 #623E2A #32622A
square
#2A4E62 #5A2A62 #623E2A #32622A
split-complementary
#2A4E62 #622A32 #625A2A
monochromatic
#091115 #182C37 #2A4E62 #3C708D #5291B5

Accessibility & contrast

On white

8.88
#2A4E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A4E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E62
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E62#FFFFFF#000000##FFFFFF
##2A4E621.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D63
Deuteranopia (green-blind)
#3D4762
Tritanopia (blue-blind)
#055355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4e62;
/* rgb */ color: rgb(42, 78, 98);
/* oklch */ color: oklch(40.6% 0.053 234.5);
Tailwind
colors: {
  custom: {
    50: '#687f8e',
    500: '#2a4e62',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e62;
$custom-light: #687f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e62",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 201.429,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.05347,
    "h": 234.5
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#2A4E62
secondary
#946B53
accent
#8358D0
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A4E62

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

Preview Lab → · Contrast checker → · Palette generator →

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