#24339F#24339F

#24339F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.174 H 269.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#24339F
RGBrgb(36, 51, 159)
HSLhsl(233, 63%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(77.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.42, 33.48, -59.99)
CIE-LCHlch(27.42, 68.70, 299.16°)
OKLaboklab(38.78% -0.0009 -0.1736)
OKLCHoklch(38.78% 0.174 269.7)
XYZxyz(8.1672, 5.2450, 33.3761)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339F #9F9024
analogous
#24709F #24339F #52249F
triadic
#24339F #9F2433 #339F24
tetradic
#24339F #9F2470 #9F9024 #249F52
square
#24339F #9F2470 #9F9024 #249F52
split-complementary
#24339F #9F5224 #709F24
monochromatic
#0D133B #19236D #24339F #3044D0 #6271DB

Accessibility & contrast

On white

10.25
#24339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#24339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24339F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339F#FFFFFF#000000##FFFFFF
##24339F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #24339f;
/* rgb */ color: rgb(36, 51, 159);
/* oklch */ color: oklch(38.8% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#24339f',
    950: '#000000',
  },
}
SCSS
$custom: #24339f;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24339f",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 232.683,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38779,
    "c": 0.1736,
    "h": 269.7
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#24339F
secondary
#C1B55E
accent
#D242E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24339F

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

Preview Lab → · Contrast checker → · Palette generator →

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