#24256F#24256F

#24256F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.125 H 276.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#24256F
RGBrgb(36, 37, 111)
HSLhsl(239, 51%, 29%)
HSVhsv(239, 68%, 44%)
CMYKcmyk(67.6%, 66.7%, 0%, 56.5%)
CIE-LABlab(19.41, 24.92, -43.06)
CIE-LCHlch(19.41, 49.75, 300.06°)
OKLaboklab(31.55% 0.013 -0.1241)
OKLCHoklch(31.55% 0.125 276)
XYZxyz(4.2574, 2.8455, 15.3607)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24256F #6F6E24
analogous
#244B6F #24256F #49246F
triadic
#24256F #6F2425 #256F24
tetradic
#24256F #6F244B #6F6E24 #246F49
square
#24256F #6F244B #6F6E24 #246F49
split-complementary
#24256F #6F4924 #4B6F24
monochromatic
#070817 #151641 #24256F #33349D #494BC4

Accessibility & contrast

On white

13.38
#24256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24256F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24256F#FFFFFF#000000##FFFFFF
##24256F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24256f;
/* rgb */ color: rgb(36, 37, 111);
/* oklch */ color: oklch(31.6% 0.125 276.0);
Tailwind
colors: {
  custom: {
    50: '#695f99',
    500: '#24256f',
    950: '#000000',
  },
}
SCSS
$custom: #24256f;
$custom-light: #695f99;
$custom-dark: #000000;
JSON
{
  "hex": "#24256f",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 239.2,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3155,
    "c": 0.12477,
    "h": 276
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#24256F
secondary
#A2A14D
accent
#D94DDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24256F

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

Preview Lab → · Contrast checker → · Palette generator →

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