#242D92#242D92

#242D92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.163 H 271.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#242D92
RGBrgb(36, 45, 146)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 57%)
CMYKcmyk(75.3%, 69.2%, 0%, 42.7%)
CIE-LABlab(24.72, 32.57, -56.46)
CIE-LCHlch(24.72, 65.18, 299.98°)
OKLaboklab(36.44% 0.0038 -0.1633)
OKLCHoklch(36.44% 0.163 271.3)
XYZxyz(6.8525, 4.3264, 27.6625)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D92 #928924
analogous
#246492 #242D92 #522492
triadic
#242D92 #92242D #2D9224
tetradic
#242D92 #922464 #928924 #249252
square
#242D92 #922464 #928924 #249252
split-complementary
#242D92 #925224 #649224
monochromatic
#0C0F30 #181E61 #242D92 #303CC3 #5A64D6

Accessibility & contrast

On white

11.26
#242D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D92
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D92#FFFFFF#000000##FFFFFF
##242D921.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242d92;
/* rgb */ color: rgb(36, 45, 146);
/* oklch */ color: oklch(36.4% 0.163 271.3);
Tailwind
colors: {
  custom: {
    50: '#7166b3',
    500: '#242d92',
    950: '#000000',
  },
}
SCSS
$custom: #242d92;
$custom-light: #7166b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242d92",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 235.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.16335,
    "h": 271.3
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#242D92
secondary
#BBB357
accent
#D744E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242D92

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

Preview Lab → · Contrast checker → · Palette generator →

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