#2C406B#2C406B

#2C406B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.078 H 264.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2C406B
RGBrgb(44, 64, 107)
HSLhsl(221, 42%, 30%)
HSVhsv(221, 59%, 42%)
CMYKcmyk(58.9%, 40.2%, 0%, 58%)
CIE-LABlab(27.47, 6.31, -27.49)
CIE-LCHlch(27.47, 28.20, 282.92°)
OKLaboklab(37.68% -0.008 -0.0779)
OKLCHoklch(37.68% 0.078 264.1)
XYZxyz(5.5250, 5.2634, 14.6318)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C406B #6B572C
analogous
#2C606B #2C406B #372C6B
triadic
#2C406B #6B2C40 #406B2C
tetradic
#2C406B #6B2C60 #6B572C #2C6B37
square
#2C406B #6B2C60 #6B572C #2C6B37
split-complementary
#2C406B #6B372C #606B2C
monochromatic
#090D16 #1A2640 #2C406B #3E5A96 #5777BA

Accessibility & contrast

On white

10.23
#2C406B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C406B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C406B#FFFFFF#000000##FFFFFF
##2C406B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#273E6A
Tritanopia (blue-blind)
#054950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c406b;
/* rgb */ color: rgb(44, 64, 107);
/* oklch */ color: oklch(37.7% 0.078 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a7495',
    500: '#2c406b',
    950: '#000000',
  },
}
SCSS
$custom: #2c406b;
$custom-light: #6a7495;
$custom-dark: #000000;
JSON
{
  "hex": "#2c406b",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 220.952,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.07828,
    "h": 264.1
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#2C406B
secondary
#9D8656
accent
#AA56D2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C406B

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

Preview Lab → · Contrast checker → · Palette generator →

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