#24319F#24319F

#24319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.176 H 270.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#24319F
RGBrgb(36, 49, 159)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(77.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.94, 34.76, -60.77)
CIE-LCHlch(26.94, 70.01, 299.77°)
OKLaboklab(38.43% 0.0002 -0.1759)
OKLCHoklch(38.43% 0.176 270.1)
XYZxyz(8.0817, 5.0740, 33.3476)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319F #9F9224
analogous
#246E9F #24319F #55249F
triadic
#24319F #9F2431 #319F24
tetradic
#24319F #9F246E #9F9224 #249F55
square
#24319F #9F246E #9F9224 #249F55
split-complementary
#24319F #9F5524 #6E9F24
monochromatic
#0D123B #19226D #24319F #3041D0 #626FDB

Accessibility & contrast

On white

10.42
#24319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#24319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319F#FFFFFF#000000##FFFFFF
##24319F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24319f;
/* rgb */ color: rgb(36, 49, 159);
/* oklch */ color: oklch(38.4% 0.176 270.1);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#24319f',
    950: '#000000',
  },
}
SCSS
$custom: #24319f;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24319f",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 233.659,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.17589,
    "h": 270.1
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#24319F
secondary
#C1B65E
accent
#D542E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #24319F

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

Preview Lab → · Contrast checker → · Palette generator →

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