#242999#242999

#242999 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.177 H 271.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#242999
RGBrgb(36, 41, 153)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(76.5%, 73.2%, 0%, 40%)
CIE-LABlab(24.51, 37.60, -61.11)
CIE-LCHlch(24.51, 71.75, 301.60°)
OKLaboklab(36.5% 0.0051 -0.1769)
OKLCHoklch(36.5% 0.177 271.6)
XYZxyz(7.2683, 4.2601, 30.5700)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242999 #999424
analogous
#246499 #242999 #5A2499
triadic
#242999 #992429 #299924
tetradic
#242999 #992464 #999424 #24995A
square
#242999 #992464 #999424 #24995A
split-complementary
#242999 #995A24 #649924
monochromatic
#0D0E36 #181C67 #242999 #3036CB #5E63D9

Accessibility & contrast

On white

11.34
#242999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242999
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242999#FFFFFF#000000##FFFFFF
##2429991.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242999;
/* rgb */ color: rgb(36, 41, 153);
/* oklch */ color: oklch(36.5% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#7364b8',
    500: '#242999',
    950: '#000000',
  },
}
SCSS
$custom: #242999;
$custom-light: #7364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242999",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 237.436,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36497,
    "c": 0.17695,
    "h": 271.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#242999
secondary
#BEBA5B
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #242999

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

Preview Lab → · Contrast checker → · Palette generator →

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