#2C2EA9#2C2EA9

#2C2EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.190 H 272.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA9
RGBrgb(44, 46, 169)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 74%, 66%)
CMYKcmyk(74%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.72, 40.92, -65.53)
CIE-LCHlch(27.72, 77.26, 301.98°)
OKLaboklab(39.41% 0.0093 -0.1896)
OKLCHoklch(39.41% 0.19 272.8)
XYZxyz(9.1747, 5.3531, 38.0782)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA9 #A9A72C
analogous
#2C6DA9 #2C2EA9 #692CA9
triadic
#2C2EA9 #A92C2E #2EA92C
tetradic
#2C2EA9 #A92C6D #A9A72C #2CA969
square
#2C2EA9 #A92C6D #A9A72C #2CA969
split-complementary
#2C2EA9 #A9692C #6DA92C
monochromatic
#131448 #1F2178 #2C2EA9 #4446CE #7476DB

Accessibility & contrast

On white

10.14
#2C2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA9
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA9#FFFFFF#000000##FFFFFF
##2C2EA91.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2ea9;
/* rgb */ color: rgb(44, 46, 169);
/* oklch */ color: oklch(39.4% 0.190 272.8);
Tailwind
colors: {
  custom: {
    50: '#7968c4',
    500: '#2c2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea9;
$custom-light: #7968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea9",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 239.04,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.18983,
    "h": 272.8
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#2C2EA9
secondary
#C3C16E
accent
#DF46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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