#242986#242986

#242986 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.152 H 272.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#242986
RGBrgb(36, 41, 134)
HSLhsl(237, 58%, 33%)
HSVhsv(237, 73%, 53%)
CMYKcmyk(73.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.59, 30.76, -52.50)
CIE-LCHlch(22.59, 60.85, 300.37°)
OKLaboklab(34.53% 0.0076 -0.1517)
OKLCHoklch(34.53% 0.152 272.9)
XYZxyz(5.8221, 3.6816, 22.9534)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242986 #868124
analogous
#245A86 #242986 #502486
triadic
#242986 #862429 #298624
tetradic
#242986 #86245A #868124 #248650
square
#242986 #86245A #868124 #248650
split-complementary
#242986 #865024 #5A8624
monochromatic
#0A0B26 #171A56 #242986 #3138B6 #535AD1

Accessibility & contrast

On white

12.09
#242986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#242986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242986
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242986#FFFFFF#000000##FFFFFF
##2429861.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242986;
/* rgb */ color: rgb(36, 41, 134);
/* oklch */ color: oklch(34.5% 0.152 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e63aa',
    500: '#242986',
    950: '#000000',
  },
}
SCSS
$custom: #242986;
$custom-light: #6e63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242986",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 236.939,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.15193,
    "h": 272.9
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#242986
secondary
#B5B051
accent
#D947E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242986

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

Preview Lab → · Contrast checker → · Palette generator →

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