#2C2EA3#2C2EA3

#2C2EA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.182 H 273.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA3
RGBrgb(44, 46, 163)
HSLhsl(239, 57%, 41%)
HSVhsv(239, 73%, 64%)
CMYKcmyk(73%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.11, 38.86, -62.91)
CIE-LCHlch(27.11, 73.94, 301.70°)
OKLaboklab(38.79% 0.0102 -0.182)
OKLCHoklch(38.79% 0.182 273.2)
XYZxyz(8.6243, 5.1329, 35.1795)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA3 #A3A12C
analogous
#2C69A3 #2C2EA3 #662CA3
triadic
#2C2EA3 #A32C2E #2EA32C
tetradic
#2C2EA3 #A32C69 #A3A12C #2CA366
square
#2C2EA3 #A32C69 #A3A12C #2CA366
split-complementary
#2C2EA3 #A3662C #69A32C
monochromatic
#121343 #1F2073 #2C2EA3 #4143CC #7173D9

Accessibility & contrast

On white

10.36
#2C2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA3
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA3#FFFFFF#000000##FFFFFF
##2C2EA31.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2ea3;
/* rgb */ color: rgb(44, 46, 163);
/* oklch */ color: oklch(38.8% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#7868bf',
    500: '#2c2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea3;
$custom-light: #7868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea3",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 238.992,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.18225,
    "h": 273.2
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#2C2EA3
secondary
#C0BE6B
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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