#2423A7#2423A7

#2423A7 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.2% C 0.200 H 271.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2423A7
RGBrgb(36, 35, 167)
HSLhsl(240, 65%, 40%)
HSVhsv(240, 79%, 65%)
CMYKcmyk(78.4%, 79%, 0%, 34.5%)
CIE-LABlab(24.85, 45.78, -69.09)
CIE-LCHlch(24.85, 82.87, 303.53°)
OKLaboklab(37.19% 0.005 -0.2)
OKLCHoklch(37.19% 0.2 271.4)
XYZxyz(8.3013, 4.3662, 36.9570)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2423A7 #A6A723
analogous
#2364A7 #2423A7 #6623A7
triadic
#2423A7 #A72423 #23A724
tetradic
#2423A7 #A72364 #A6A723 #23A766
square
#2423A7 #A72364 #A6A723 #23A766
split-complementary
#2423A7 #A76623 #64A723
monochromatic
#0E0E42 #191874 #2423A7 #3433D4 #6666DF

Accessibility & contrast

On white

11.21
#2423A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2423A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2423A7
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2423A7#FFFFFF#000000##FFFFFF
##2423A71.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2423a7;
/* rgb */ color: rgb(36, 35, 167);
/* oklch */ color: oklch(37.2% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#7761c3',
    500: '#2423a7',
    950: '#000000',
  },
}
SCSS
$custom: #2423a7;
$custom-light: #7761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2423a7",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 240.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.20006,
    "h": 271.4
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#2423A7
secondary
#C4C461
accent
#E83FE7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2423A7

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

Preview Lab → · Contrast checker → · Palette generator →

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