#242E96#242E96

#242E96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.168 H 271.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#242E96
RGBrgb(36, 46, 150)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 59%)
CMYKcmyk(76%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.35, 33.39, -57.89)
CIE-LCHlch(25.35, 66.83, 299.98°)
OKLaboklab(37.01% 0.0028 -0.1675)
OKLCHoklch(37.01% 0.168 271)
XYZxyz(7.2077, 4.5303, 29.3428)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E96 #968C24
analogous
#246796 #242E96 #532496
triadic
#242E96 #96242E #2E9624
tetradic
#242E96 #962467 #968C24 #249653
square
#242E96 #962467 #968C24 #249653
split-complementary
#242E96 #965324 #679624
monochromatic
#0C1033 #181F65 #242E96 #303DC7 #5C67D8

Accessibility & contrast

On white

11.02
#242E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#242E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E96
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E96#FFFFFF#000000##FFFFFF
##242E961.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242e96;
/* rgb */ color: rgb(36, 46, 150);
/* oklch */ color: oklch(37.0% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#7267b6',
    500: '#242e96',
    950: '#000000',
  },
}
SCSS
$custom: #242e96;
$custom-light: #7267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242e96",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 234.737,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3701,
    "c": 0.1675,
    "h": 271
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#242E96
secondary
#BDB459
accent
#D643E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E96

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

Preview Lab → · Contrast checker → · Palette generator →

#242E96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva