#2C406F#2C406F

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

Color values

HEX#2C406F
RGBrgb(44, 64, 111)
HSLhsl(222, 43%, 30%)
HSVhsv(222, 60%, 44%)
CMYKcmyk(60.4%, 42.3%, 0%, 56.5%)
CIE-LABlab(27.71, 7.78, -29.66)
CIE-LCHlch(27.71, 30.67, 284.69°)
OKLaboklab(37.94% -0.007 -0.0842)
OKLCHoklch(37.94% 0.085 265.2)
XYZxyz(5.7404, 5.3495, 15.7659)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C406F #6F5B2C
analogous
#2C616F #2C406F #3A2C6F
triadic
#2C406F #6F2C40 #406F2C
tetradic
#2C406F #6F2C61 #6F5B2C #2C6F3A
square
#2C406F #6F2C61 #6F5B2C #2C6F3A
split-complementary
#2C406F #6F3A2C #616F2C
monochromatic
#090D17 #1B2743 #2C406F #3D599B #5876BD

Accessibility & contrast

On white

10.14
#2C406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C406F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C406F#FFFFFF#000000##FFFFFF
##2C406F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#233F6E
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c406f;
/* rgb */ color: rgb(44, 64, 111);
/* oklch */ color: oklch(37.9% 0.085 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b7498',
    500: '#2c406f',
    950: '#000000',
  },
}
SCSS
$custom: #2c406f;
$custom-light: #6b7498;
$custom-dark: #000000;
JSON
{
  "hex": "#2c406f",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 222.09,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37942,
    "c": 0.08452,
    "h": 265.2
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#2C406F
secondary
#A18A56
accent
#AD55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C406F

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

Preview Lab → · Contrast checker → · Palette generator →

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