#242C91#242C91

#242C91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.163 H 271.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#242C91
RGBrgb(36, 44, 145)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 57%)
CMYKcmyk(75.2%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.39, 32.85, -56.39)
CIE-LCHlch(24.39, 65.26, 300.22°)
OKLaboklab(36.16% 0.0045 -0.1631)
OKLCHoklch(36.16% 0.163 271.6)
XYZxyz(6.7373, 4.2201, 27.2421)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C91 #918924
analogous
#246391 #242C91 #522491
triadic
#242C91 #91242C #2C9124
tetradic
#242C91 #912463 #918924 #249152
square
#242C91 #912463 #918924 #249152
split-complementary
#242C91 #915224 #639124
monochromatic
#0C0E2F #181D60 #242C91 #303BC2 #5963D6

Accessibility & contrast

On white

11.39
#242C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#242C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C91
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C91#FFFFFF#000000##FFFFFF
##242C911.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242c91;
/* rgb */ color: rgb(36, 44, 145);
/* oklch */ color: oklch(36.2% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#242c91',
    950: '#000000',
  },
}
SCSS
$custom: #242c91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242c91",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 235.596,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.16318,
    "h": 271.6
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#242C91
secondary
#BAB356
accent
#D844E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242C91

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

Preview Lab → · Contrast checker → · Palette generator →

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