#2C209F#2C209F

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

Color values

HEX#2C209F
RGBrgb(44, 32, 159)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 80%, 62%)
CMYKcmyk(72.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.90, 45.38, -65.77)
CIE-LCHlch(23.90, 79.91, 304.61°)
OKLaboklab(36.4% 0.018 -0.1902)
OKLCHoklch(36.4% 0.191 275.4)
XYZxyz(7.8112, 4.0709, 33.1683)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C209F #939F20
analogous
#20549F #2C209F #6B209F
triadic
#2C209F #9F2C20 #209F2C
tetradic
#2C209F #9F2054 #939F20 #209F6B
square
#2C209F #9F2054 #939F20 #209F6B
split-complementary
#2C209F #9F6B20 #549F20
monochromatic
#100B39 #1E166C #2C209F #3A2AD2 #685BDE

Accessibility & contrast

On white

11.57
#2C209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C209F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C209F#FFFFFF#000000##FFFFFF
##2C209F1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c209f;
/* rgb */ color: rgb(44, 32, 159);
/* oklch */ color: oklch(36.4% 0.191 275.4);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2c209f',
    950: '#000000',
  },
}
SCSS
$custom: #2c209f;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c209f",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 245.669,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.19102,
    "h": 275.4
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#2C209F
secondary
#B8C259
accent
#E93ED9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C209F

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

Preview Lab → · Contrast checker → · Palette generator →

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