#24327A#24327A

#24327A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.123 H 270.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#24327A
RGBrgb(36, 50, 122)
HSLhsl(230, 54%, 31%)
HSVhsv(230, 70%, 48%)
CMYKcmyk(70.5%, 59%, 0%, 52.2%)
CIE-LABlab(23.87, 20.11, -42.84)
CIE-LCHlch(23.87, 47.33, 295.15°)
OKLaboklab(35.14% 0.001 -0.1233)
OKLCHoklch(35.14% 0.123 270.4)
XYZxyz(5.3798, 4.0609, 18.9089)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24327A #7A6C24
analogous
#245D7A #24327A #41247A
triadic
#24327A #7A2432 #327A24
tetradic
#24327A #7A245D #7A6C24 #247A41
square
#24327A #7A245D #7A6C24 #247A41
split-complementary
#24327A #7A4124 #5D7A24
monochromatic
#080B1B #161F4B #24327A #3245A9 #4E62CB

Accessibility & contrast

On white

11.59
#24327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#24327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24327A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24327A#FFFFFF#000000##FFFFFF
##24327A1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24327a;
/* rgb */ color: rgb(36, 50, 122);
/* oklch */ color: oklch(35.1% 0.123 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a69a1',
    500: '#24327a',
    950: '#000000',
  },
}
SCSS
$custom: #24327a;
$custom-light: #6a69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24327a",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 230.233,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35144,
    "c": 0.12333,
    "h": 270.4
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#24327A
secondary
#AC9D4D
accent
#C64ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24327A

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

Preview Lab → · Contrast checker → · Palette generator →

#24327A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva