#2C23D4#2C23D4

#2C23D4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.8% C 0.249 H 270.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C23D4
RGBrgb(44, 35, 212)
HSLhsl(243, 72%, 48%)
HSVhsv(243, 83%, 83%)
CMYKcmyk(79.2%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.62, 60.07, -86.12)
CIE-LCHlch(30.62, 105.00, 304.90°)
OKLaboklab(42.84% 0.004 -0.2492)
OKLCHoklch(42.84% 0.249 270.9)
XYZxyz(13.5194, 6.4895, 62.8147)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23D4 #CBD423
analogous
#2372D4 #2C23D4 #8423D4
triadic
#2C23D4 #D42C23 #23D42C
tetradic
#2C23D4 #D42372 #CBD423 #23D484
square
#2C23D4 #D42372 #CBD423 #23D484
split-complementary
#2C23D4 #D48423 #72D423
monochromatic
#16126B #211A9F #2C23D4 #5952E2 #8B86EB

Accessibility & contrast

On white

9.14
#2C23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23D4
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23D4#FFFFFF#000000##FFFFFF
##2C23D41.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c23d4;
/* rgb */ color: rgb(44, 35, 212);
/* oklch */ color: oklch(42.8% 0.249 270.9);
Tailwind
colors: {
  custom: {
    50: '#8464e3',
    500: '#2c23d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c23d4;
$custom-light: #8464e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23d4",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 243.051,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.24922,
    "h": 270.9
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#2C23D4
secondary
#D0D47E
accent
#EE39E5
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2C23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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