#242296#242296

#242296 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.180 H 272.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#242296
RGBrgb(36, 34, 150)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 77%, 59%)
CMYKcmyk(76%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.72, 40.68, -62.22)
CIE-LCHlch(22.72, 74.34, 303.18°)
OKLaboklab(35.13% 0.0089 -0.1801)
OKLCHoklch(35.13% 0.18 272.8)
XYZxyz(6.8028, 3.7204, 29.2078)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242296 #949622
analogous
#225A96 #242296 #5E2296
triadic
#242296 #962422 #229624
tetradic
#242296 #96225A #949622 #22965E
square
#242296 #96225A #949622 #22965E
split-complementary
#242296 #965E22 #5A9622
monochromatic
#0C0B32 #181764 #242296 #302DC8 #5B59D9

Accessibility & contrast

On white

12.04
#242296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242296
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242296#FFFFFF#000000##FFFFFF
##2422961.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242296;
/* rgb */ color: rgb(36, 34, 150);
/* oklch */ color: oklch(35.1% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#735fb6',
    500: '#242296',
    950: '#000000',
  },
}
SCSS
$custom: #242296;
$custom-light: #735fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#242296",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 241.034,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.18028,
    "h": 272.8
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#242296
secondary
#BCBE56
accent
#E642E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242296

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

Preview Lab → · Contrast checker → · Palette generator →

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