#24265D#24265D

#24265D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.096 H 277.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#24265D
RGBrgb(36, 38, 93)
HSLhsl(238, 44%, 25%)
HSVhsv(238, 61%, 36%)
CMYKcmyk(61.3%, 59.1%, 0%, 63.5%)
CIE-LABlab(18.15, 17.48, -33.32)
CIE-LCHlch(18.15, 37.63, 297.69°)
OKLaboklab(30.13% 0.0123 -0.0955)
OKLCHoklch(30.13% 0.096 277.4)
XYZxyz(3.3958, 2.5514, 10.6673)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24265D #5D5B24
analogous
#24425D #24265D #3E245D
triadic
#24265D #5D2426 #265D24
tetradic
#24265D #5D2442 #5D5B24 #245D3E
square
#24265D #5D2442 #5D5B24 #245D3E
split-complementary
#24265D #5D3E24 #425D24
monochromatic
#090916 #131431 #24265D #353889 #464AB5

Accessibility & contrast

On white

13.90
#24265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#24265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24265D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24265D#FFFFFF#000000##FFFFFF
##24265D1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#04333D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24265d;
/* rgb */ color: rgb(36, 38, 93);
/* oklch */ color: oklch(30.1% 0.096 277.4);
Tailwind
colors: {
  custom: {
    50: '#65608b',
    500: '#24265d',
    950: '#000000',
  },
}
SCSS
$custom: #24265d;
$custom-light: #65608b;
$custom-dark: #000000;
JSON
{
  "hex": "#24265d",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 237.895,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.09627,
    "h": 277.4
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#24265D
secondary
#918E4C
accent
#CF54D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24265D

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

Preview Lab → · Contrast checker → · Palette generator →

#24265D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva