#2C406A#2C406A

#2C406A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.077 H 263.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C406A
RGBrgb(44, 64, 106)
HSLhsl(221, 41%, 29%)
HSVhsv(221, 58%, 42%)
CMYKcmyk(58.5%, 39.6%, 0%, 58.4%)
CIE-LABlab(27.41, 5.94, -26.94)
CIE-LCHlch(27.41, 27.59, 282.44°)
OKLaboklab(37.62% -0.0082 -0.0763)
OKLCHoklch(37.62% 0.077 263.8)
XYZxyz(5.4727, 5.2425, 14.3564)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C406A #6A562C
analogous
#2C5F6A #2C406A #372C6A
triadic
#2C406A #6A2C40 #406A2C
tetradic
#2C406A #6A2C5F #6A562C #2C6A37
square
#2C406A #6A2C5F #6A562C #2C6A37
split-complementary
#2C406A #6A372C #5F6A2C
monochromatic
#090D16 #1A263F #2C406A #3E5A95 #5777B9

Accessibility & contrast

On white

10.25
#2C406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C406A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C406A#FFFFFF#000000##FFFFFF
##2C406A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#064950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c406a;
/* rgb */ color: rgb(44, 64, 106);
/* oklch */ color: oklch(37.6% 0.077 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a7495',
    500: '#2c406a',
    950: '#000000',
  },
}
SCSS
$custom: #2c406a;
$custom-light: #6a7495;
$custom-dark: #000000;
JSON
{
  "hex": "#2c406a",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 220.645,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.07671,
    "h": 263.8
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2C406A
secondary
#9C8556
accent
#AA57D1
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C406A

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

Preview Lab → · Contrast checker → · Palette generator →

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