#2A476D#2A476D

#2A476D is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.4% C 0.074 H 255.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2A476D
RGBrgb(42, 71, 109)
HSLhsl(214, 44%, 30%)
HSVhsv(214, 61%, 43%)
CMYKcmyk(61.5%, 34.9%, 0%, 57.3%)
CIE-LABlab(29.67, 1.88, -25.30)
CIE-LCHlch(29.67, 25.37, 274.24°)
OKLaboklab(39.4% -0.0182 -0.0715)
OKLCHoklch(39.4% 0.074 255.7)
XYZxyz(5.9674, 6.1023, 15.3284)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A476D #6D502A
analogous
#2A696D #2A476D #2F2A6D
triadic
#2A476D #6D2A47 #476D2A
tetradic
#2A476D #6D2A69 #6D502A #2A6D2F
square
#2A476D #6D2A69 #6D502A #2A6D2F
split-complementary
#2A476D #6D2F2A #696D2A
monochromatic
#090E16 #192A41 #2A476D #3B6499 #5482BD

Accessibility & contrast

On white

9.46
#2A476D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A476D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A476D#FFFFFF#000000##FFFFFF
##2A476D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a476d;
/* rgb */ color: rgb(42, 71, 109);
/* oklch */ color: oklch(39.4% 0.074 255.7);
Tailwind
colors: {
  custom: {
    50: '#6a7a97',
    500: '#2a476d',
    950: '#000000',
  },
}
SCSS
$custom: #2a476d;
$custom-light: #6a7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a476d",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 214.03,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39398,
    "c": 0.07374,
    "h": 255.7
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#2A476D
secondary
#9F7E54
accent
#9D54D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A476D

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

Preview Lab → · Contrast checker → · Palette generator →

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