#2423B2#2423B2

#2423B2 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.213 H 270.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2423B2
RGBrgb(36, 35, 178)
HSLhsl(240, 67%, 42%)
HSVhsv(240, 80%, 70%)
CMYKcmyk(79.8%, 80.3%, 0%, 30.2%)
CIE-LABlab(26.13, 49.32, -73.58)
CIE-LCHlch(26.13, 88.58, 303.83°)
OKLaboklab(38.46% 0.0027 -0.213)
OKLCHoklch(38.46% 0.213 270.7)
XYZxyz(9.3617, 4.7904, 42.5421)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2423B2 #B1B223
analogous
#2369B2 #2423B2 #6C23B2
triadic
#2423B2 #B22423 #23B224
tetradic
#2423B2 #B22369 #B1B223 #23B26C
square
#2423B2 #B22369 #B1B223 #23B26C
split-complementary
#2423B2 #B26C23 #69B223
monochromatic
#0F0F4C #1A197F #2423B2 #3B3AD8 #6E6DE2

Accessibility & contrast

On white

10.72
#2423B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2423B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2423B2
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2423B2#FFFFFF#000000##FFFFFF
##2423B21.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0036B0
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2423b2;
/* rgb */ color: rgb(36, 35, 178);
/* oklch */ color: oklch(38.5% 0.213 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a61ca',
    500: '#2423b2',
    950: '#000000',
  },
}
SCSS
$custom: #2423b2;
$custom-light: #7a61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2423b2",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 240.42,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.21303,
    "h": 270.7
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#2423B2
secondary
#C8C968
accent
#EA3EE9
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2423B2

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

Preview Lab → · Contrast checker → · Palette generator →

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