#24267F#24267F

#24267F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.146 H 274.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#24267F
RGBrgb(36, 38, 127)
HSLhsl(239, 56%, 32%)
HSVhsv(239, 72%, 50%)
CMYKcmyk(71.7%, 70.1%, 0%, 50.2%)
CIE-LABlab(21.18, 30.16, -50.40)
CIE-LCHlch(21.18, 58.73, 300.89°)
OKLaboklab(33.3% 0.0105 -0.1456)
OKLCHoklch(33.3% 0.146 274.1)
XYZxyz(5.2502, 3.2931, 20.4335)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24267F #7F7D24
analogous
#24547F #24267F #50247F
triadic
#24267F #7F2426 #267F24
tetradic
#24267F #7F2454 #7F7D24 #247F50
square
#24267F #7F2454 #7F7D24 #247F50
split-complementary
#24267F #7F5024 #547F24
monochromatic
#090920 #16184F #24267F #3234AF #5053CD

Accessibility & contrast

On white

12.66
#24267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#24267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24267F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24267F#FFFFFF#000000##FFFFFF
##24267F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #24267f;
/* rgb */ color: rgb(36, 38, 127);
/* oklch */ color: oklch(33.3% 0.146 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d61a5',
    500: '#24267f',
    950: '#000000',
  },
}
SCSS
$custom: #24267f;
$custom-light: #6d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24267f",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 238.681,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.14599,
    "h": 274.1
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#24267F
secondary
#B1AF4E
accent
#DC49DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #24267F

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

Preview Lab → · Contrast checker → · Palette generator →

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