#242699#242699

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

Color values

HEX#242699
RGBrgb(36, 38, 153)
HSLhsl(239, 62%, 37%)
HSVhsv(239, 76%, 60%)
CMYKcmyk(76.5%, 75.2%, 0%, 40%)
CIE-LABlab(23.87, 39.40, -62.17)
CIE-LCHlch(23.87, 73.60, 302.36°)
OKLaboklab(36.04% 0.0065 -0.1799)
OKLCHoklch(36.04% 0.18 272.1)
XYZxyz(7.1685, 4.0604, 30.5368)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242699 #999724
analogous
#246199 #242699 #5C2499
triadic
#242699 #992426 #269924
tetradic
#242699 #992461 #999724 #24995C
square
#242699 #992461 #999724 #24995C
split-complementary
#242699 #995C24 #619924
monochromatic
#0D0D36 #181A67 #242699 #3032CB #5E60D9

Accessibility & contrast

On white

11.59
#242699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#242699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242699
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242699#FFFFFF#000000##FFFFFF
##2426991.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242699;
/* rgb */ color: rgb(36, 38, 153);
/* oklch */ color: oklch(36.0% 0.180 272.1);
Tailwind
colors: {
  custom: {
    50: '#7362b8',
    500: '#242699',
    950: '#000000',
  },
}
SCSS
$custom: #242699;
$custom-light: #7362b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242699",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 238.974,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36039,
    "c": 0.18007,
    "h": 272.1
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#242699
secondary
#BEBC5B
accent
#E243E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #242699

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

Preview Lab → · Contrast checker → · Palette generator →

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