#2A476F#2A476F

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

Color values

HEX#2A476F
RGBrgb(42, 71, 111)
HSLhsl(215, 45%, 30%)
HSVhsv(215, 62%, 44%)
CMYKcmyk(62.2%, 36%, 0%, 56.5%)
CIE-LABlab(29.78, 2.61, -26.40)
CIE-LCHlch(29.78, 26.53, 275.65°)
OKLaboklab(39.52% -0.0176 -0.0746)
OKLCHoklch(39.52% 0.077 256.7)
XYZxyz(6.0763, 6.1459, 15.9019)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A476F #6F522A
analogous
#2A696F #2A476F #302A6F
triadic
#2A476F #6F2A47 #476F2A
tetradic
#2A476F #6F2A69 #6F522A #2A6F30
square
#2A476F #6F2A69 #6F522A #2A6F30
split-complementary
#2A476F #6F302A #696F2A
monochromatic
#080E16 #192B43 #2A476F #3B639B #5581BF

Accessibility & contrast

On white

9.42
#2A476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A476F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A476F#FFFFFF#000000##FFFFFF
##2A476F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#2D436E
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a476f;
/* rgb */ color: rgb(42, 71, 111);
/* oklch */ color: oklch(39.5% 0.077 256.7);
Tailwind
colors: {
  custom: {
    50: '#6a7998',
    500: '#2a476f',
    950: '#000000',
  },
}
SCSS
$custom: #2a476f;
$custom-light: #6a7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2a476f",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 214.783,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.0767,
    "h": 256.7
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#2A476F
secondary
#A18154
accent
#9E53D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A476F

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

Preview Lab → · Contrast checker → · Palette generator →

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