#2A476E#2A476E

#2A476E is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.075 H 256.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2A476E
RGBrgb(42, 71, 110)
HSLhsl(214, 45%, 30%)
HSVhsv(214, 62%, 43%)
CMYKcmyk(61.8%, 35.5%, 0%, 56.9%)
CIE-LABlab(29.72, 2.24, -25.85)
CIE-LCHlch(29.72, 25.95, 274.96°)
OKLaboklab(39.46% -0.0179 -0.073)
OKLCHoklch(39.46% 0.075 256.2)
XYZxyz(6.0216, 6.1240, 15.6135)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A476E #6E512A
analogous
#2A696E #2A476E #2F2A6E
triadic
#2A476E #6E2A47 #476E2A
tetradic
#2A476E #6E2A69 #6E512A #2A6E2F
square
#2A476E #6E2A69 #6E512A #2A6E2F
split-complementary
#2A476E #6E2F2A #696E2A
monochromatic
#080E16 #192A42 #2A476E #3B649A #5581BE

Accessibility & contrast

On white

9.44
#2A476E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A476E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A476E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A476E#FFFFFF#000000##FFFFFF
##2A476E1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a476e;
/* rgb */ color: rgb(42, 71, 110);
/* oklch */ color: oklch(39.5% 0.075 256.2);
Tailwind
colors: {
  custom: {
    50: '#6a7998',
    500: '#2a476e',
    950: '#000000',
  },
}
SCSS
$custom: #2a476e;
$custom-light: #6a7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2a476e",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 214.412,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.07521,
    "h": 256.2
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#2A476E
secondary
#A08054
accent
#9D53D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A476E

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

Preview Lab → · Contrast checker → · Palette generator →

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