#2C406E#2C406E

#2C406E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.083 H 265.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2C406E
RGBrgb(44, 64, 110)
HSLhsl(222, 43%, 30%)
HSVhsv(222, 60%, 43%)
CMYKcmyk(60%, 41.8%, 0%, 56.9%)
CIE-LABlab(27.65, 7.41, -29.12)
CIE-LCHlch(27.65, 30.05, 284.27°)
OKLaboklab(37.88% -0.0073 -0.0826)
OKLCHoklch(37.88% 0.083 265)
XYZxyz(5.6856, 5.3276, 15.4775)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C406E #6E5A2C
analogous
#2C616E #2C406E #392C6E
triadic
#2C406E #6E2C40 #406E2C
tetradic
#2C406E #6E2C61 #6E5A2C #2C6E39
square
#2C406E #6E2C61 #6E5A2C #2C6E39
split-complementary
#2C406E #6E392C #616E2C
monochromatic
#090D17 #1B2742 #2C406E #3D599A #5876BC

Accessibility & contrast

On white

10.17
#2C406E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C406E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C406E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C406E#FFFFFF#000000##FFFFFF
##2C406E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#243E6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c406e;
/* rgb */ color: rgb(44, 64, 110);
/* oklch */ color: oklch(37.9% 0.083 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b7498',
    500: '#2c406e',
    950: '#000000',
  },
}
SCSS
$custom: #2c406e;
$custom-light: #6b7498;
$custom-dark: #000000;
JSON
{
  "hex": "#2c406e",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 221.818,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.08296,
    "h": 265
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#2C406E
secondary
#A08956
accent
#AD55D3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C406E

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

Preview Lab → · Contrast checker → · Palette generator →

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