#242C92#242C92

#242C92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.165 H 271.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#242C92
RGBrgb(36, 44, 146)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 57%)
CMYKcmyk(75.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.48, 33.22, -56.85)
CIE-LCHlch(24.48, 65.84, 300.30°)
OKLaboklab(36.26% 0.0044 -0.1645)
OKLCHoklch(36.26% 0.165 271.5)
XYZxyz(6.8148, 4.2510, 27.6499)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C92 #928A24
analogous
#246392 #242C92 #532492
triadic
#242C92 #92242C #2C9224
tetradic
#242C92 #922463 #928A24 #249253
square
#242C92 #922463 #928A24 #249253
split-complementary
#242C92 #925324 #639224
monochromatic
#0C0E30 #181D61 #242C92 #303BC3 #5A63D6

Accessibility & contrast

On white

11.35
#242C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C92
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C92#FFFFFF#000000##FFFFFF
##242C921.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242c92;
/* rgb */ color: rgb(36, 44, 146);
/* oklch */ color: oklch(36.3% 0.165 271.5);
Tailwind
colors: {
  custom: {
    50: '#7165b3',
    500: '#242c92',
    950: '#000000',
  },
}
SCSS
$custom: #242c92;
$custom-light: #7165b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242c92",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 235.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36262,
    "c": 0.16452,
    "h": 271.5
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#242C92
secondary
#BBB457
accent
#D844E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242C92

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

Preview Lab → · Contrast checker → · Palette generator →

#242C92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva