#2C23A4#2C23A4

#2C23A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.194 H 274.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2C23A4
RGBrgb(44, 35, 164)
HSLhsl(244, 65%, 39%)
HSVhsv(244, 79%, 64%)
CMYKcmyk(73.2%, 78.7%, 0%, 35.7%)
CIE-LABlab(25.00, 45.43, -66.99)
CIE-LCHlch(25.00, 80.94, 304.14°)
OKLaboklab(37.33% 0.0155 -0.1937)
OKLCHoklch(37.33% 0.194 274.6)
XYZxyz(8.3384, 4.4170, 35.5279)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23A4 #9BA423
analogous
#235BA4 #2C23A4 #6D23A4
triadic
#2C23A4 #A42C23 #23A42C
tetradic
#2C23A4 #A4235B #9BA423 #23A46D
square
#2C23A4 #A4235B #9BA423 #23A46D
split-complementary
#2C23A4 #A46D23 #5BA423
monochromatic
#110D3F #1E1872 #2C23A4 #3C31D3 #6C64DE

Accessibility & contrast

On white

11.15
#2C23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23A4
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23A4#FFFFFF#000000##FFFFFF
##2C23A41.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c23a4;
/* rgb */ color: rgb(44, 35, 164);
/* oklch */ color: oklch(37.3% 0.194 274.6);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2c23a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c23a4;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23a4",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 244.186,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.19437,
    "h": 274.6
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#2C23A4
secondary
#BCC360
accent
#E840DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2C23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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