#2C23A2#2C23A2

#2C23A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.192 H 274.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C23A2
RGBrgb(44, 35, 162)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(72.8%, 78.4%, 0%, 36.5%)
CIE-LABlab(24.78, 44.78, -66.15)
CIE-LCHlch(24.78, 79.88, 304.10°)
OKLaboklab(37.11% 0.016 -0.1913)
OKLCHoklch(37.11% 0.192 274.8)
XYZxyz(8.1592, 4.3454, 34.5842)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23A2 #99A223
analogous
#2359A2 #2C23A2 #6B23A2
triadic
#2C23A2 #A22C23 #23A22C
tetradic
#2C23A2 #A22359 #99A223 #23A26B
square
#2C23A2 #A22359 #99A223 #23A26B
split-complementary
#2C23A2 #A26B23 #59A223
monochromatic
#110D3D #1E1870 #2C23A2 #3B30D2 #6B62DD

Accessibility & contrast

On white

11.23
#2C23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C23A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23A2
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23A2#FFFFFF#000000##FFFFFF
##2C23A21.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c23a2;
/* rgb */ color: rgb(44, 35, 162);
/* oklch */ color: oklch(37.1% 0.192 274.8);
Tailwind
colors: {
  custom: {
    50: '#7861bf',
    500: '#2c23a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c23a2;
$custom-light: #7861bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23a2",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 244.252,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.19197,
    "h": 274.8
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#2C23A2
secondary
#BBC25E
accent
#E740DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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