#24236E#24236E

#24236E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.126 H 276.8°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#24236E
RGBrgb(36, 35, 110)
HSLhsl(241, 52%, 28%)
HSVhsv(241, 68%, 43%)
CMYKcmyk(67.3%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.81, 25.91, -43.39)
CIE-LCHlch(18.81, 50.54, 300.84°)
OKLaboklab(31.08% 0.0148 -0.1251)
OKLCHoklch(31.08% 0.126 276.8)
XYZxyz(4.1421, 2.7026, 15.0522)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24236E #6D6E23
analogous
#23476E #24236E #49236E
triadic
#24236E #6E2423 #236E24
tetradic
#24236E #6E2347 #6D6E23 #236E49
square
#24236E #6E2347 #6D6E23 #236E49
split-complementary
#24236E #6E4923 #476E23
monochromatic
#080717 #151440 #24236E #33329C #4947C4

Accessibility & contrast

On white

13.63
#24236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#24236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24236E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24236E#FFFFFF#000000##FFFFFF
##24236E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24236e;
/* rgb */ color: rgb(36, 35, 110);
/* oklch */ color: oklch(31.1% 0.126 276.8);
Tailwind
colors: {
  custom: {
    50: '#695e98',
    500: '#24236e',
    950: '#000000',
  },
}
SCSS
$custom: #24236e;
$custom-light: #695e98;
$custom-dark: #000000;
JSON
{
  "hex": "#24236e",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 240.8,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31081,
    "c": 0.12598,
    "h": 276.8
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#24236E
secondary
#A0A14C
accent
#DB4DD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24236E

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

Preview Lab → · Contrast checker → · Palette generator →

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