#242299#242299

#242299 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.184 H 272.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#242299
RGBrgb(36, 34, 153)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(76.5%, 77.8%, 0%, 40%)
CIE-LABlab(23.06, 41.69, -63.51)
CIE-LCHlch(23.06, 75.97, 303.28°)
OKLaboklab(35.47% 0.0083 -0.1838)
OKLCHoklch(35.47% 0.184 272.6)
XYZxyz(7.0474, 3.8183, 30.4964)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242299 #979922
analogous
#225C99 #242299 #602299
triadic
#242299 #992422 #229924
tetradic
#242299 #99225C #979922 #229960
square
#242299 #99225C #979922 #229960
split-complementary
#242299 #996022 #5C9922
monochromatic
#0C0C35 #181767 #242299 #302DCB #5D5BDB

Accessibility & contrast

On white

11.91
#242299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#242299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242299
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242299#FFFFFF#000000##FFFFFF
##2422991.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242299;
/* rgb */ color: rgb(36, 34, 153);
/* oklch */ color: oklch(35.5% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#735fb8',
    500: '#242299',
    950: '#000000',
  },
}
SCSS
$custom: #242299;
$custom-light: #735fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#242299",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 241.008,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35466,
    "c": 0.18399,
    "h": 272.6
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#242299
secondary
#BDBF58
accent
#E741E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #242299

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

Preview Lab → · Contrast checker → · Palette generator →

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