#242586#242586

#242586 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.157 H 273.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#242586
RGBrgb(36, 37, 134)
HSLhsl(239, 58%, 33%)
HSVhsv(239, 73%, 53%)
CMYKcmyk(73.1%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.65, 33.33, -54.04)
CIE-LCHlch(21.65, 63.49, 301.66°)
OKLaboklab(33.85% 0.0102 -0.1563)
OKLCHoklch(33.85% 0.157 273.7)
XYZxyz(5.6908, 3.4189, 22.9096)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242586 #868524
analogous
#245686 #242586 #542486
triadic
#242586 #862425 #258624
tetradic
#242586 #862456 #868524 #248654
square
#242586 #862456 #868524 #248654
split-complementary
#242586 #865424 #568624
monochromatic
#0A0A26 #171856 #242586 #3132B6 #5355D1

Accessibility & contrast

On white

12.47
#242586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242586
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242586#FFFFFF#000000##FFFFFF
##2425861.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242586;
/* rgb */ color: rgb(36, 37, 134);
/* oklch */ color: oklch(33.9% 0.157 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e60aa',
    500: '#242586',
    950: '#000000',
  },
}
SCSS
$custom: #242586;
$custom-light: #6e60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242586",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 239.388,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33852,
    "c": 0.15659,
    "h": 273.7
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#242586
secondary
#B5B451
accent
#DF47E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242586

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

Preview Lab → · Contrast checker → · Palette generator →

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