#24285F#24285F

#24285F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.096 H 276.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#24285F
RGBrgb(36, 40, 95)
HSLhsl(236, 45%, 26%)
HSVhsv(236, 62%, 37%)
CMYKcmyk(62.1%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.88, 16.81, -33.47)
CIE-LCHlch(18.88, 37.45, 296.67°)
OKLaboklab(30.73% 0.0101 -0.0959)
OKLCHoklch(30.73% 0.096 276)
XYZxyz(3.5512, 2.7186, 11.1619)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24285F #5F5B24
analogous
#24455F #24285F #3D245F
triadic
#24285F #5F2428 #285F24
tetradic
#24285F #5F2445 #5F5B24 #245F3D
square
#24285F #5F2445 #5F5B24 #245F3D
split-complementary
#24285F #5F3D24 #455F24
monochromatic
#080916 #131533 #24285F #353B8B #464DB8

Accessibility & contrast

On white

13.60
#24285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#24285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24285F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24285F#FFFFFF#000000##FFFFFF
##24285F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24285f;
/* rgb */ color: rgb(36, 40, 95);
/* oklch */ color: oklch(30.7% 0.096 276.0);
Tailwind
colors: {
  custom: {
    50: '#65618d',
    500: '#24285f',
    950: '#000000',
  },
}
SCSS
$custom: #24285f;
$custom-light: #65618d;
$custom-dark: #000000;
JSON
{
  "hex": "#24285f",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 235.932,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30729,
    "c": 0.09641,
    "h": 276
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#24285F
secondary
#938E4C
accent
#CC53D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #24285F

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

Preview Lab → · Contrast checker → · Palette generator →

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