#242385#242385

#242385 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.158 H 274.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#242385
RGBrgb(36, 35, 133)
HSLhsl(241, 58%, 33%)
HSVhsv(241, 74%, 52%)
CMYKcmyk(72.9%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.09, 34.22, -54.33)
CIE-LCHlch(21.09, 64.20, 302.20°)
OKLaboklab(33.42% 0.0116 -0.1571)
OKLCHoklch(33.42% 0.158 274.2)
XYZxyz(5.5608, 3.2700, 22.5239)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242385 #848523
analogous
#235385 #242385 #552385
triadic
#242385 #852423 #238524
tetradic
#242385 #852353 #848523 #238555
square
#242385 #852353 #848523 #238555
split-complementary
#242385 #855523 #538523
monochromatic
#0A0924 #171655 #242385 #3130B5 #5251D1

Accessibility & contrast

On white

12.69
#242385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#242385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242385
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242385#FFFFFF#000000##FFFFFF
##2423851.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242385;
/* rgb */ color: rgb(36, 35, 133);
/* oklch */ color: oklch(33.4% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e5faa',
    500: '#242385',
    950: '#000000',
  },
}
SCSS
$custom: #242385;
$custom-light: #6e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#242385",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 240.612,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33424,
    "c": 0.15752,
    "h": 274.2
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242385

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

Preview Lab → · Contrast checker → · Palette generator →

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