#242899#242899

#242899 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.178 H 271.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#242899
RGBrgb(36, 40, 153)
HSLhsl(238, 62%, 37%)
HSVhsv(238, 76%, 60%)
CMYKcmyk(76.5%, 73.9%, 0%, 40%)
CIE-LABlab(24.30, 38.21, -61.47)
CIE-LCHlch(24.30, 72.38, 301.86°)
OKLaboklab(36.34% 0.0056 -0.1779)
OKLCHoklch(36.34% 0.178 271.8)
XYZxyz(7.2342, 4.1918, 30.5587)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242899 #999524
analogous
#246299 #242899 #5B2499
triadic
#242899 #992428 #289924
tetradic
#242899 #992462 #999524 #24995B
square
#242899 #992462 #999524 #24995B
split-complementary
#242899 #995B24 #629924
monochromatic
#0D0E36 #181B67 #242899 #3035CB #5E62D9

Accessibility & contrast

On white

11.42
#242899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#242899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242899
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242899#FFFFFF#000000##FFFFFF
##2428991.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242899;
/* rgb */ color: rgb(36, 40, 153);
/* oklch */ color: oklch(36.3% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7363b8',
    500: '#242899',
    950: '#000000',
  },
}
SCSS
$custom: #242899;
$custom-light: #7363b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242899",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 237.949,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36342,
    "c": 0.17801,
    "h": 271.8
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#242899
secondary
#BEBB5B
accent
#DF43E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #242899

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

Preview Lab → · Contrast checker → · Palette generator →

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