#2C407E#2C407E

#2C407E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.108 H 267.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2C407E
RGBrgb(44, 64, 126)
HSLhsl(225, 48%, 33%)
HSVhsv(225, 65%, 49%)
CMYKcmyk(65.1%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.66, 13.38, -37.60)
CIE-LCHlch(28.66, 39.91, 289.59°)
OKLaboklab(38.98% -0.0042 -0.1075)
OKLCHoklch(38.98% 0.108 267.8)
XYZxyz(6.6367, 5.7080, 20.4866)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C407E #7E6A2C
analogous
#2C697E #2C407E #412C7E
triadic
#2C407E #7E2C40 #407E2C
tetradic
#2C407E #7E2C69 #7E6A2C #2C7E41
square
#2C407E #7E2C69 #7E6A2C #2C7E41
split-complementary
#2C407E #7E412C #697E2C
monochromatic
#0C1223 #1C2951 #2C407E #3C57AB #5E77C7

Accessibility & contrast

On white

9.80
#2C407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C407E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C407E#FFFFFF#000000##FFFFFF
##2C407E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214780
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c407e;
/* rgb */ color: rgb(44, 64, 126);
/* oklch */ color: oklch(39.0% 0.108 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e74a4',
    500: '#2c407e',
    950: '#000000',
  },
}
SCSS
$custom: #2c407e;
$custom-light: #6e74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c407e",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 225.366,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.1076,
    "h": 267.8
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#2C407E
secondary
#AD9859
accent
#B750D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C407E

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

Preview Lab → · Contrast checker → · Palette generator →

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