#242390#242390

#242390 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.172 H 273.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#242390
RGBrgb(36, 35, 144)
HSLhsl(241, 61%, 35%)
HSVhsv(241, 76%, 56%)
CMYKcmyk(75%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.27, 38.06, -59.26)
CIE-LCHlch(22.27, 70.43, 302.71°)
OKLaboklab(34.61% 0.0096 -0.1715)
OKLCHoklch(34.61% 0.172 273.2)
XYZxyz(6.3609, 3.5901, 26.7379)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242390 #8F9023
analogous
#235990 #242390 #5A2390
triadic
#242390 #902423 #239024
tetradic
#242390 #902359 #8F9023 #23905A
square
#242390 #902359 #8F9023 #23905A
split-complementary
#242390 #905A23 #599023
monochromatic
#0B0B2E #18175F #242390 #302FC1 #5857D6

Accessibility & contrast

On white

12.22
#242390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#242390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242390
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242390#FFFFFF#000000##FFFFFF
##2423901.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242390;
/* rgb */ color: rgb(36, 35, 144);
/* oklch */ color: oklch(34.6% 0.172 273.2);
Tailwind
colors: {
  custom: {
    50: '#715fb2',
    500: '#242390',
    950: '#000000',
  },
}
SCSS
$custom: #242390;
$custom-light: #715fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#242390",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 240.55,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3461,
    "c": 0.17174,
    "h": 273.2
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#242390
secondary
#B9BA54
accent
#E444E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242390

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

Preview Lab → · Contrast checker → · Palette generator →

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