#2C407A#2C407A

#2C407A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.102 H 267.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C407A
RGBrgb(44, 64, 122)
HSLhsl(225, 47%, 33%)
HSVhsv(225, 64%, 48%)
CMYKcmyk(63.9%, 47.5%, 0%, 52.2%)
CIE-LABlab(28.40, 11.87, -35.52)
CIE-LCHlch(28.40, 37.45, 288.48°)
OKLaboklab(38.7% -0.0048 -0.1014)
OKLCHoklch(38.7% 0.102 267.3)
XYZxyz(6.3838, 5.6069, 19.1544)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C407A #7A662C
analogous
#2C677A #2C407A #3F2C7A
triadic
#2C407A #7A2C40 #407A2C
tetradic
#2C407A #7A2C67 #7A662C #2C7A3F
square
#2C407A #7A2C67 #7A662C #2C7A3F
split-complementary
#2C407A #7A3F2C #677A2C
monochromatic
#0C1120 #1C284D #2C407A #3C58A7 #5C77C4

Accessibility & contrast

On white

9.90
#2C407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C407A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C407A#FFFFFF#000000##FFFFFF
##2C407A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#184079
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c407a;
/* rgb */ color: rgb(44, 64, 122);
/* oklch */ color: oklch(38.7% 0.102 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d74a1',
    500: '#2c407a',
    950: '#000000',
  },
}
SCSS
$custom: #2c407a;
$custom-light: #6d74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c407a",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 224.615,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38696,
    "c": 0.10152,
    "h": 267.3
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#2C407A
secondary
#AA9557
accent
#B451D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2C407A

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

Preview Lab → · Contrast checker → · Palette generator →

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