#24389F#24389F

#24389F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.168 H 268.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#24389F
RGBrgb(36, 56, 159)
HSLhsl(230, 63%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(77.4%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.66, 30.20, -57.96)
CIE-LCHlch(28.66, 65.36, 297.53°)
OKLaboklab(39.68% -0.0039 -0.1676)
OKLCHoklch(39.68% 0.168 268.7)
XYZxyz(8.3976, 5.7057, 33.4529)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24389F #9F8B24
analogous
#24759F #24389F #4D249F
triadic
#24389F #9F2438 #389F24
tetradic
#24389F #9F2475 #9F8B24 #249F4D
square
#24389F #9F2475 #9F8B24 #249F4D
split-complementary
#24389F #9F4D24 #759F24
monochromatic
#0D153B #19266D #24389F #304AD0 #6276DB

Accessibility & contrast

On white

9.81
#24389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#24389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24389F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24389F#FFFFFF#000000##FFFFFF
##24389F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24389f;
/* rgb */ color: rgb(36, 56, 159);
/* oklch */ color: oklch(39.7% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#736ebc',
    500: '#24389f',
    950: '#000000',
  },
}
SCSS
$custom: #24389f;
$custom-light: #736ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#24389f",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 230.244,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.16767,
    "h": 268.7
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#24389F
secondary
#C1B15E
accent
#CB42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24389F

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

Preview Lab → · Contrast checker → · Palette generator →

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