#24235E#24235E

#24235E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.102 H 278.9°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#24235E
RGBrgb(36, 35, 94)
HSLhsl(241, 46%, 25%)
HSVhsv(241, 63%, 37%)
CMYKcmyk(61.7%, 62.8%, 0%, 63.1%)
CIE-LABlab(17.39, 19.98, -35.21)
CIE-LCHlch(17.39, 40.49, 299.57°)
OKLaboklab(29.6% 0.0158 -0.1011)
OKLCHoklch(29.6% 0.102 278.9)
XYZxyz(3.3483, 2.3851, 10.8714)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24235E #5D5E23
analogous
#233F5E #24235E #41235E
triadic
#24235E #5E2423 #235E24
tetradic
#24235E #5E233F #5D5E23 #235E41
square
#24235E #5E233F #5D5E23 #235E41
split-complementary
#24235E #5E4123 #3F5E23
monochromatic
#090816 #131231 #24235E #35348B #4644B7

Accessibility & contrast

On white

14.22
#24235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#24235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24235E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24235E#FFFFFF#000000##FFFFFF
##24235E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#03313C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24235e;
/* rgb */ color: rgb(36, 35, 94);
/* oklch */ color: oklch(29.6% 0.102 278.9);
Tailwind
colors: {
  custom: {
    50: '#655e8c',
    500: '#24235e',
    950: '#000000',
  },
}
SCSS
$custom: #24235e;
$custom-light: #655e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#24235e",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 241.017,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29595,
    "c": 0.1023,
    "h": 278.9
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#24235E
secondary
#91924B
accent
#D552D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24235E

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

Preview Lab → · Contrast checker → · Palette generator →

#24235E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva