#2C417A#2C417A

#2C417A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.100 H 266.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2C417A
RGBrgb(44, 65, 122)
HSLhsl(224, 47%, 33%)
HSVhsv(224, 64%, 48%)
CMYKcmyk(63.9%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.70, 11.19, -35.04)
CIE-LCHlch(28.70, 36.78, 287.71°)
OKLaboklab(38.92% -0.006 -0.1)
OKLCHoklch(38.92% 0.1 266.6)
XYZxyz(6.4407, 5.7207, 19.1734)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C417A #7A652C
analogous
#2C687A #2C417A #3E2C7A
triadic
#2C417A #7A2C41 #417A2C
tetradic
#2C417A #7A2C68 #7A652C #2C7A3E
square
#2C417A #7A2C68 #7A652C #2C7A3E
split-complementary
#2C417A #7A3E2C #687A2C
monochromatic
#0C1120 #1C294D #2C417A #3C59A7 #5C78C4

Accessibility & contrast

On white

9.79
#2C417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C417A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C417A#FFFFFF#000000##FFFFFF
##2C417A1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c417a;
/* rgb */ color: rgb(44, 65, 122);
/* oklch */ color: oklch(38.9% 0.100 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d75a1',
    500: '#2c417a',
    950: '#000000',
  },
}
SCSS
$custom: #2c417a;
$custom-light: #6d75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c417a",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 223.846,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.10016,
    "h": 266.6
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#2C417A
secondary
#AA9457
accent
#B351D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2C417A

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

Preview Lab → · Contrast checker → · Palette generator →

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