#2C219E#2C219E

#2C219E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.189 H 275.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2C219E
RGBrgb(44, 33, 158)
HSLhsl(245, 65%, 37%)
HSVhsv(245, 79%, 62%)
CMYKcmyk(72.2%, 79.1%, 0%, 38%)
CIE-LABlab(23.97, 44.55, -65.05)
CIE-LCHlch(23.97, 78.84, 304.41°)
OKLaboklab(36.41% 0.0179 -0.1881)
OKLCHoklch(36.41% 0.189 275.4)
XYZxyz(7.7521, 4.0911, 32.7222)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C219E #939E21
analogous
#21559E #2C219E #6B219E
triadic
#2C219E #9E2C21 #219E2C
tetradic
#2C219E #9E2155 #939E21 #219E6B
square
#2C219E #9E2155 #939E21 #219E6B
split-complementary
#2C219E #9E6B21 #559E21
monochromatic
#100C39 #1E166B #2C219E #3A2CD1 #685CDD

Accessibility & contrast

On white

11.55
#2C219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C219E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C219E#FFFFFF#000000##FFFFFF
##2C219E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c219e;
/* rgb */ color: rgb(44, 33, 158);
/* oklch */ color: oklch(36.4% 0.189 275.4);
Tailwind
colors: {
  custom: {
    50: '#785fbc',
    500: '#2c219e',
    950: '#000000',
  },
}
SCSS
$custom: #2c219e;
$custom-light: #785fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c219e",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 245.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.18894,
    "h": 275.4
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2C219E
secondary
#B8C159
accent
#E83FDA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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