#2C239A#2C239A

#2C239A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.182 H 275.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2C239A
RGBrgb(44, 35, 154)
HSLhsl(245, 63%, 37%)
HSVhsv(245, 77%, 60%)
CMYKcmyk(71.4%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.90, 42.19, -62.72)
CIE-LCHlch(23.90, 75.59, 303.93°)
OKLaboklab(36.23% 0.0179 -0.1813)
OKLCHoklch(36.23% 0.182 275.6)
XYZxyz(7.4706, 4.0699, 30.9575)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C239A #919A23
analogous
#23569A #2C239A #68239A
triadic
#2C239A #9A2C23 #239A2C
tetradic
#2C239A #9A2356 #919A23 #239A68
square
#2C239A #9A2356 #919A23 #239A68
split-complementary
#2C239A #9A6823 #569A23
monochromatic
#100C36 #1E1868 #2C239A #3A2ECC #675DDA

Accessibility & contrast

On white

11.58
#2C239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C239A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C239A#FFFFFF#000000##FFFFFF
##2C239A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c239a;
/* rgb */ color: rgb(44, 35, 154);
/* oklch */ color: oklch(36.2% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#7760b9',
    500: '#2c239a',
    950: '#000000',
  },
}
SCSS
$custom: #2c239a;
$custom-light: #7760b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c239a",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 244.538,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.1822,
    "h": 275.6
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#2C239A
secondary
#B7BF5A
accent
#E642DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C239A

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

Preview Lab → · Contrast checker → · Palette generator →

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