#242896#242896

#242896 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.174 H 272.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#242896
RGBrgb(36, 40, 150)
HSLhsl(238, 61%, 36%)
HSVhsv(238, 76%, 59%)
CMYKcmyk(76%, 73.3%, 0%, 41.2%)
CIE-LABlab(23.98, 37.15, -60.15)
CIE-LCHlch(23.98, 70.70, 301.70°)
OKLaboklab(36.02% 0.0061 -0.1741)
OKLCHoklch(36.02% 0.174 272)
XYZxyz(6.9895, 4.0939, 29.2701)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242896 #969224
analogous
#246196 #242896 #592496
triadic
#242896 #962428 #289624
tetradic
#242896 #962461 #969224 #249659
square
#242896 #962461 #969224 #249659
split-complementary
#242896 #965924 #619624
monochromatic
#0C0E33 #181B65 #242896 #3035C7 #5C61D8

Accessibility & contrast

On white

11.54
#242896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242896
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242896#FFFFFF#000000##FFFFFF
##2428961.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242896;
/* rgb */ color: rgb(36, 40, 150);
/* oklch */ color: oklch(36.0% 0.174 272.0);
Tailwind
colors: {
  custom: {
    50: '#7263b6',
    500: '#242896',
    950: '#000000',
  },
}
SCSS
$custom: #242896;
$custom-light: #7263b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242896",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 237.895,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36021,
    "c": 0.17418,
    "h": 272
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#242896
secondary
#BDB959
accent
#DF43E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242896

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

Preview Lab → · Contrast checker → · Palette generator →

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