#242C93#242C93

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

Color values

HEX#242C93
RGBrgb(36, 44, 147)
HSLhsl(236, 61%, 36%)
HSVhsv(236, 76%, 58%)
CMYKcmyk(75.5%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.58, 33.58, -57.30)
CIE-LCHlch(24.58, 66.42, 300.37°)
OKLaboklab(36.36% 0.0043 -0.1658)
OKLCHoklch(36.36% 0.166 271.5)
XYZxyz(6.8929, 4.2823, 28.0614)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C93 #938B24
analogous
#246393 #242C93 #532493
triadic
#242C93 #93242C #2C9324
tetradic
#242C93 #932463 #938B24 #249353
square
#242C93 #932463 #938B24 #249353
split-complementary
#242C93 #935324 #639324
monochromatic
#0C0F31 #181D62 #242C93 #303BC4 #5B64D7

Accessibility & contrast

On white

11.31
#242C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#242C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C93
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C93#FFFFFF#000000##FFFFFF
##242C931.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242c93;
/* rgb */ color: rgb(36, 44, 147);
/* oklch */ color: oklch(36.4% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#242c93',
    950: '#000000',
  },
}
SCSS
$custom: #242c93;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242c93",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 235.676,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36364,
    "c": 0.16583,
    "h": 271.5
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242C93

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

Preview Lab → · Contrast checker → · Palette generator →

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