#24267C#24267C

#24267C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.142 H 274.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#24267C
RGBrgb(36, 38, 124)
HSLhsl(239, 55%, 31%)
HSVhsv(239, 71%, 49%)
CMYKcmyk(71%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.89, 29.06, -48.98)
CIE-LCHlch(20.89, 56.95, 300.68°)
OKLaboklab(33% 0.0109 -0.1414)
OKLCHoklch(33% 0.142 274.4)
XYZxyz(5.0576, 3.2161, 19.4191)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24267C #7C7A24
analogous
#24527C #24267C #4E247C
triadic
#24267C #7C2426 #267C24
tetradic
#24267C #7C2452 #7C7A24 #247C4E
square
#24267C #7C2452 #7C7A24 #247C4E
split-complementary
#24267C #7C4E24 #527C24
monochromatic
#08091D #16174D #24267C #3235AB #4F51CC

Accessibility & contrast

On white

12.78
#24267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#24267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24267C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24267C#FFFFFF#000000##FFFFFF
##24267C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24267c;
/* rgb */ color: rgb(36, 38, 124);
/* oklch */ color: oklch(33.0% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c60a3',
    500: '#24267c',
    950: '#000000',
  },
}
SCSS
$custom: #24267c;
$custom-light: #6c60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24267c",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 238.636,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.14187,
    "h": 274.4
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#24267C
secondary
#AEAC4D
accent
#DB49DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #24267C

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

Preview Lab → · Contrast checker → · Palette generator →

#24267C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva