#2A4972#2A4972

#2A4972 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.079 H 255.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2A4972
RGBrgb(42, 73, 114)
HSLhsl(214, 46%, 31%)
HSVhsv(214, 63%, 45%)
CMYKcmyk(63.2%, 36%, 0%, 55.3%)
CIE-LABlab(30.57, 2.39, -27.04)
CIE-LCHlch(30.57, 27.14, 275.05°)
OKLaboklab(40.19% -0.0191 -0.0765)
OKLCHoklch(40.19% 0.079 255.9)
XYZxyz(6.3736, 6.4717, 16.8296)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4972 #72532A
analogous
#2A6D72 #2A4972 #2F2A72
triadic
#2A4972 #722A49 #49722A
tetradic
#2A4972 #722A6D #72532A #2A722F
square
#2A4972 #722A6D #72532A #2A722F
split-complementary
#2A4972 #722F2A #6D722A
monochromatic
#091019 #1A2C45 #2A4972 #3A669F #5684C1

Accessibility & contrast

On white

9.15
#2A4972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A4972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4972
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4972#FFFFFF#000000##FFFFFF
##2A49721.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#2E4571
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4972;
/* rgb */ color: rgb(42, 73, 114);
/* oklch */ color: oklch(40.2% 0.079 255.9);
Tailwind
colors: {
  custom: {
    50: '#6b7b9b',
    500: '#2a4972',
    950: '#000000',
  },
}
SCSS
$custom: #2a4972;
$custom-light: #6b7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4972",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 214.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.07885,
    "h": 255.9
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#2A4972
secondary
#A48154
accent
#9D52D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4972

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

Preview Lab → · Contrast checker → · Palette generator →

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