#2423C1#2423C1

#2423C1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.230 H 269.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2423C1
RGBrgb(36, 35, 193)
HSLhsl(240, 69%, 45%)
HSVhsv(240, 82%, 76%)
CMYKcmyk(81.3%, 81.9%, 0%, 24.3%)
CIE-LABlab(27.92, 54.01, -79.52)
CIE-LCHlch(27.92, 96.12, 304.18°)
OKLaboklab(40.21% -0.0004 -0.2302)
OKLCHoklch(40.21% 0.23 269.9)
XYZxyz(10.9510, 5.4261, 50.9119)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2423C1 #C0C123
analogous
#2371C1 #2423C1 #7323C1
triadic
#2423C1 #C12423 #23C124
tetradic
#2423C1 #C12371 #C0C123 #23C173
square
#2423C1 #C12371 #C0C123 #23C173
split-complementary
#2423C1 #C17323 #71C123
monochromatic
#111059 #1A1A8D #2423C1 #4544DD #7978E6

Accessibility & contrast

On white

10.07
#2423C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2423C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2423C1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2423C1#FFFFFF#000000##FFFFFF
##2423C11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#0039BE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2423c1;
/* rgb */ color: rgb(36, 35, 193);
/* oklch */ color: oklch(40.2% 0.230 269.9);
Tailwind
colors: {
  custom: {
    50: '#7e62d5',
    500: '#2423c1',
    950: '#000000',
  },
}
SCSS
$custom: #2423c1;
$custom-light: #7e62d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2423c1",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 240.38,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.23021,
    "h": 269.9
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#2423C1
secondary
#CDCE72
accent
#EC3CEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2423C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2423C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva