#24348A#24348A

#24348A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.144 H 269.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#24348A
RGBrgb(36, 52, 138)
HSLhsl(231, 59%, 34%)
HSVhsv(231, 74%, 54%)
CMYKcmyk(73.9%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.76, 24.91, -49.81)
CIE-LCHlch(25.76, 55.69, 296.57°)
OKLaboklab(36.97% -0.0006 -0.1438)
OKLCHoklch(36.97% 0.144 269.8)
XYZxyz(6.5414, 4.6654, 24.5956)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24348A #8A7A24
analogous
#24678A #24348A #47248A
triadic
#24348A #8A2434 #348A24
tetradic
#24348A #8A2467 #8A7A24 #248A47
square
#24348A #8A2467 #8A7A24 #248A47
split-complementary
#24348A #8A4724 #678A24
monochromatic
#0B0F29 #172259 #24348A #3146BB #5669D3

Accessibility & contrast

On white

10.86
#24348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#24348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24348A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24348A#FFFFFF#000000##FFFFFF
##24348A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24348a;
/* rgb */ color: rgb(36, 52, 138);
/* oklch */ color: oklch(37.0% 0.144 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e6bad',
    500: '#24348a',
    950: '#000000',
  },
}
SCSS
$custom: #24348a;
$custom-light: #6e6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#24348a",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 230.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.14377,
    "h": 269.8
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#24348A
secondary
#B7A753
accent
#C946E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24348A

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

Preview Lab → · Contrast checker → · Palette generator →

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