#2C2EAE#2C2EAE

#2C2EAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.196 H 272.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2C2EAE
RGBrgb(44, 46, 174)
HSLhsl(239, 60%, 43%)
HSVhsv(239, 75%, 68%)
CMYKcmyk(74.7%, 73.6%, 0%, 31.8%)
CIE-LABlab(28.23, 42.62, -67.69)
CIE-LCHlch(28.23, 79.99, 302.20°)
OKLaboklab(39.93% 0.0085 -0.1959)
OKLCHoklch(39.93% 0.196 272.5)
XYZxyz(9.6531, 5.5445, 40.5976)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EAE #AEAC2C
analogous
#2C6FAE #2C2EAE #6B2CAE
triadic
#2C2EAE #AE2C2E #2EAE2C
tetradic
#2C2EAE #AE2C6F #AEAC2C #2CAE6B
square
#2C2EAE #AE2C6F #AEAC2C #2CAE6B
split-complementary
#2C2EAE #AE6B2C #6FAE2C
monochromatic
#13144C #20217D #2C2EAE #4749D0 #7879DD

Accessibility & contrast

On white

9.96
#2C2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EAE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EAE#FFFFFF#000000##FFFFFF
##2C2EAE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2eae;
/* rgb */ color: rgb(44, 46, 174);
/* oklch */ color: oklch(39.9% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a68c7',
    500: '#2c2eae',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eae;
$custom-light: #7a68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eae",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 239.077,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39932,
    "c": 0.19606,
    "h": 272.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#2C2EAE
secondary
#C5C371
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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