#242486#242486

#242486 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.158 H 273.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#242486
RGBrgb(36, 36, 134)
HSLhsl(240, 58%, 33%)
HSVhsv(240, 73%, 53%)
CMYKcmyk(73.1%, 73.1%, 0%, 47.5%)
CIE-LABlab(21.42, 33.95, -54.42)
CIE-LCHlch(21.42, 64.14, 301.96°)
OKLaboklab(33.69% 0.0108 -0.1573)
OKLCHoklch(33.69% 0.158 273.9)
XYZxyz(5.6601, 3.3575, 22.8994)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242486 #868624
analogous
#245586 #242486 #552486
triadic
#242486 #862424 #248624
tetradic
#242486 #862455 #868624 #248655
square
#242486 #862455 #868624 #248655
split-complementary
#242486 #865524 #558624
monochromatic
#0A0A26 #171756 #242486 #3131B6 #5353D1

Accessibility & contrast

On white

12.56
#242486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#242486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242486
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242486#FFFFFF#000000##FFFFFF
##2424861.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242486;
/* rgb */ color: rgb(36, 36, 134);
/* oklch */ color: oklch(33.7% 0.158 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f60aa',
    500: '#242486',
    950: '#000000',
  },
}
SCSS
$custom: #242486;
$custom-light: #6f60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242486",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.15772,
    "h": 273.9
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#242486
secondary
#B5B551
accent
#E147E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242486

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

Preview Lab → · Contrast checker → · Palette generator →

#242486 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva