#242590#242590

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

Color values

HEX#242590
RGBrgb(36, 37, 144)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(75%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.69, 36.86, -58.56)
CIE-LCHlch(22.69, 69.20, 302.19°)
OKLaboklab(34.91% 0.0086 -0.1694)
OKLCHoklch(34.91% 0.17 272.9)
XYZxyz(6.4215, 3.7112, 26.7581)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242590 #908F24
analogous
#245B90 #242590 #592490
triadic
#242590 #902425 #259024
tetradic
#242590 #90245B #908F24 #249059
square
#242590 #90245B #908F24 #249059
split-complementary
#242590 #905924 #5B9024
monochromatic
#0C0C2E #18185F #242590 #3032C1 #595AD5

Accessibility & contrast

On white

12.05
#242590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242590
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242590#FFFFFF#000000##FFFFFF
##2425901.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242590;
/* rgb */ color: rgb(36, 37, 144);
/* oklch */ color: oklch(34.9% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#242590',
    950: '#000000',
  },
}
SCSS
$custom: #242590;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242590",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 239.444,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.16966,
    "h": 272.9
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#242590
secondary
#BAB956
accent
#E245E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242590

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

Preview Lab → · Contrast checker → · Palette generator →

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