#2C407C#2C407C

#2C407C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.105 H 267.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2C407C
RGBrgb(44, 64, 124)
HSLhsl(225, 48%, 33%)
HSVhsv(225, 65%, 49%)
CMYKcmyk(64.5%, 48.4%, 0%, 51.4%)
CIE-LABlab(28.53, 12.62, -36.56)
CIE-LCHlch(28.53, 38.68, 289.05°)
OKLaboklab(38.84% -0.0045 -0.1045)
OKLCHoklch(38.84% 0.105 267.5)
XYZxyz(6.5090, 5.6569, 19.8138)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C407C #7C682C
analogous
#2C687C #2C407C #402C7C
triadic
#2C407C #7C2C40 #407C2C
tetradic
#2C407C #7C2C68 #7C682C #2C7C40
square
#2C407C #7C2C68 #7C682C #2C7C40
split-complementary
#2C407C #7C402C #687C2C
monochromatic
#0C1122 #1C294F #2C407C #3C57A9 #5D77C5

Accessibility & contrast

On white

9.85
#2C407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C407C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C407C#FFFFFF#000000##FFFFFF
##2C407C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#15407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c407c;
/* rgb */ color: rgb(44, 64, 124);
/* oklch */ color: oklch(38.8% 0.105 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e74a2',
    500: '#2c407c',
    950: '#000000',
  },
}
SCSS
$custom: #2c407c;
$custom-light: #6e74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c407c",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 225,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.10457,
    "h": 267.5
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#2C407C
secondary
#AC9758
accent
#B651D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C407C

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

Preview Lab → · Contrast checker → · Palette generator →

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