#242D93#242D93

#242D93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.165 H 271.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#242D93
RGBrgb(36, 45, 147)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 58%)
CMYKcmyk(75.5%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.82, 32.94, -56.91)
CIE-LCHlch(24.82, 65.76, 300.06°)
OKLaboklab(36.54% 0.0037 -0.1646)
OKLCHoklch(36.54% 0.165 271.3)
XYZxyz(6.9306, 4.3577, 28.0740)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D93 #938A24
analogous
#246493 #242D93 #522493
triadic
#242D93 #93242D #2D9324
tetradic
#242D93 #932464 #938A24 #249352
square
#242D93 #932464 #938A24 #249352
split-complementary
#242D93 #935224 #649324
monochromatic
#0C0F31 #181E62 #242D93 #303CC4 #5B65D7

Accessibility & contrast

On white

11.22
#242D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242D93
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D93#FFFFFF#000000##FFFFFF
##242D931.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242d93;
/* rgb */ color: rgb(36, 45, 147);
/* oklch */ color: oklch(36.5% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#7166b4',
    500: '#242d93',
    950: '#000000',
  },
}
SCSS
$custom: #242d93;
$custom-light: #7166b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242d93",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 235.135,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.16468,
    "h": 271.3
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242D93

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

Preview Lab → · Contrast checker → · Palette generator →

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