#24309F#24309F

#24309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 270.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#24309F
RGBrgb(36, 48, 159)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(77.4%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.71, 35.40, -61.16)
CIE-LCHlch(26.71, 70.66, 300.06°)
OKLaboklab(38.26% 0.0007 -0.177)
OKLCHoklch(38.26% 0.177 270.2)
XYZxyz(8.0404, 4.9913, 33.3338)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24309F #9F9324
analogous
#246D9F #24309F #55249F
triadic
#24309F #9F2430 #309F24
tetradic
#24309F #9F246D #9F9324 #249F55
square
#24309F #9F246D #9F9324 #249F55
split-complementary
#24309F #9F5524 #6D9F24
monochromatic
#0D123B #19216D #24309F #3040D0 #626EDB

Accessibility & contrast

On white

10.51
#24309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#24309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24309F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24309F#FFFFFF#000000##FFFFFF
##24309F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24309f;
/* rgb */ color: rgb(36, 48, 159);
/* oklch */ color: oklch(38.3% 0.177 270.2);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#24309f',
    950: '#000000',
  },
}
SCSS
$custom: #24309f;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24309f",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 234.146,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.17702,
    "h": 270.2
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#24309F
secondary
#C1B75E
accent
#D642E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #24309F

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

Preview Lab → · Contrast checker → · Palette generator →

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