#24297E#24297E

#24297E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.141 H 273.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#24297E
RGBrgb(36, 41, 126)
HSLhsl(237, 56%, 32%)
HSVhsv(237, 71%, 49%)
CMYKcmyk(71.4%, 67.5%, 0%, 50.6%)
CIE-LABlab(21.82, 27.81, -48.71)
CIE-LCHlch(21.82, 56.09, 299.72°)
OKLaboklab(33.74% 0.0084 -0.1407)
OKLCHoklch(33.74% 0.141 273.4)
XYZxyz(5.2851, 3.4668, 20.1253)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24297E #7E7924
analogous
#24567E #24297E #4C247E
triadic
#24297E #7E2429 #297E24
tetradic
#24297E #7E2456 #7E7924 #247E4C
square
#24297E #7E2456 #7E7924 #247E4C
split-complementary
#24297E #7E4C24 #567E24
monochromatic
#090A1F #161A4E #24297E #3238AE #5056CD

Accessibility & contrast

On white

12.40
#24297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24297E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24297E#FFFFFF#000000##FFFFFF
##24297E1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24297e;
/* rgb */ color: rgb(36, 41, 126);
/* oklch */ color: oklch(33.7% 0.141 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c63a4',
    500: '#24297e',
    950: '#000000',
  },
}
SCSS
$custom: #24297e;
$custom-light: #6c63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24297e",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 236.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.14091,
    "h": 273.4
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#24297E
secondary
#B0AB4E
accent
#D749DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #24297E

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

Preview Lab → · Contrast checker → · Palette generator →

#24297E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva