#24258F#24258F

#24258F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.168 H 273.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#24258F
RGBrgb(36, 37, 143)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(74.8%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.59, 36.51, -58.12)
CIE-LCHlch(22.59, 68.64, 302.14°)
OKLaboklab(34.81% 0.0088 -0.1681)
OKLCHoklch(34.81% 0.168 273)
XYZxyz(6.3454, 3.6807, 26.3573)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258F #8F8E24
analogous
#245B8F #24258F #58248F
triadic
#24258F #8F2425 #258F24
tetradic
#24258F #8F245B #8F8E24 #248F58
square
#24258F #8F245B #8F8E24 #248F58
split-complementary
#24258F #8F5824 #5B8F24
monochromatic
#0B0C2D #18185E #24258F #3032C0 #585AD5

Accessibility & contrast

On white

12.10
#24258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#24258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24258F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258F#FFFFFF#000000##FFFFFF
##24258F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24258f;
/* rgb */ color: rgb(36, 37, 143);
/* oklch */ color: oklch(34.8% 0.168 273.0);
Tailwind
colors: {
  custom: {
    50: '#7161b1',
    500: '#24258f',
    950: '#000000',
  },
}
SCSS
$custom: #24258f;
$custom-light: #7161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24258f",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 239.439,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34805,
    "c": 0.16837,
    "h": 273
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#24258F
secondary
#B9B955
accent
#E145E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24258F

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

Preview Lab → · Contrast checker → · Palette generator →

#24258F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva