#242890#242890

#242890 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.166 H 272.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#242890
RGBrgb(36, 40, 144)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 56%)
CMYKcmyk(75%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.36, 35.02, -57.47)
CIE-LCHlch(23.36, 67.30, 301.36°)
OKLaboklab(35.39% 0.007 -0.1663)
OKLCHoklch(35.39% 0.166 272.4)
XYZxyz(6.5187, 3.9056, 26.7905)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242890 #908C24
analogous
#245E90 #242890 #562490
triadic
#242890 #902428 #289024
tetradic
#242890 #90245E #908C24 #249056
square
#242890 #90245E #908C24 #249056
split-complementary
#242890 #905624 #5E9024
monochromatic
#0C0D2E #181A5F #242890 #3036C1 #595ED5

Accessibility & contrast

On white

11.79
#242890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242890
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242890#FFFFFF#000000##FFFFFF
##2428901.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242890;
/* rgb */ color: rgb(36, 40, 144);
/* oklch */ color: oklch(35.4% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#7163b2',
    500: '#242890',
    950: '#000000',
  },
}
SCSS
$custom: #242890;
$custom-light: #7163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242890",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 237.778,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.16641,
    "h": 272.4
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#242890
secondary
#BAB656
accent
#DD45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242890

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

Preview Lab → · Contrast checker → · Palette generator →

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