#2A476C#2A476C

#2A476C is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.072 H 255.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2A476C
RGBrgb(42, 71, 108)
HSLhsl(214, 44%, 29%)
HSVhsv(214, 61%, 42%)
CMYKcmyk(61.1%, 34.3%, 0%, 57.6%)
CIE-LABlab(29.62, 1.51, -24.75)
CIE-LCHlch(29.62, 24.80, 273.49°)
OKLaboklab(39.34% -0.0185 -0.0699)
OKLCHoklch(39.34% 0.072 255.2)
XYZxyz(5.9139, 6.0809, 15.0465)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A476C #6C4F2A
analogous
#2A686C #2A476C #2E2A6C
triadic
#2A476C #6C2A47 #476C2A
tetradic
#2A476C #6C2A68 #6C4F2A #2A6C2E
square
#2A476C #6C2A68 #6C4F2A #2A6C2E
split-complementary
#2A476C #6C2E2A #686C2A
monochromatic
#090E16 #192A40 #2A476C #3B6498 #5482BC

Accessibility & contrast

On white

9.48
#2A476C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A476C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A476C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A476C#FFFFFF#000000##FFFFFF
##2A476C1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496E
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a476c;
/* rgb */ color: rgb(42, 71, 108);
/* oklch */ color: oklch(39.3% 0.072 255.2);
Tailwind
colors: {
  custom: {
    50: '#6a7a96',
    500: '#2a476c',
    950: '#000000',
  },
}
SCSS
$custom: #2a476c;
$custom-light: #6a7a96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a476c",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 213.636,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.07227,
    "h": 255.2
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#2A476C
secondary
#9E7D54
accent
#9C54D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A476C

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

Preview Lab → · Contrast checker → · Palette generator →

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