#242386#242386

#242386 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.159 H 274.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#242386
RGBrgb(36, 35, 134)
HSLhsl(241, 59%, 33%)
HSVhsv(241, 74%, 53%)
CMYKcmyk(73.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(21.20, 34.57, -54.78)
CIE-LCHlch(21.20, 64.78, 302.25°)
OKLaboklab(33.53% 0.0114 -0.1584)
OKLCHoklch(33.53% 0.159 274.1)
XYZxyz(5.6302, 3.2978, 22.8895)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242386 #858623
analogous
#235386 #242386 #552386
triadic
#242386 #862423 #238624
tetradic
#242386 #862353 #858623 #238655
square
#242386 #862353 #858623 #238655
split-complementary
#242386 #865523 #538623
monochromatic
#0A0A25 #171655 #242386 #3130B7 #5352D2

Accessibility & contrast

On white

12.65
#242386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242386
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242386#FFFFFF#000000##FFFFFF
##2423861.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242386;
/* rgb */ color: rgb(36, 35, 134);
/* oklch */ color: oklch(33.5% 0.159 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f5faa',
    500: '#242386',
    950: '#000000',
  },
}
SCSS
$custom: #242386;
$custom-light: #6f5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#242386",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 240.606,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.15883,
    "h": 274.1
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#242386
secondary
#B4B54F
accent
#E246E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242386

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

Preview Lab → · Contrast checker → · Palette generator →

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