#242691#242691

#242691 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.170 H 272.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#242691
RGBrgb(36, 38, 145)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 57%)
CMYKcmyk(75.2%, 73.8%, 0%, 43.1%)
CIE-LABlab(23.02, 36.61, -58.65)
CIE-LCHlch(23.02, 69.14, 301.97°)
OKLaboklab(35.17% 0.0079 -0.1697)
OKLCHoklch(35.17% 0.17 272.7)
XYZxyz(6.5298, 3.8050, 27.1729)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242691 #918F24
analogous
#245C91 #242691 #582491
triadic
#242691 #912426 #269124
tetradic
#242691 #91245C #918F24 #249158
square
#242691 #91245C #918F24 #249158
split-complementary
#242691 #915824 #5C9124
monochromatic
#0C0C2F #181960 #242691 #3033C2 #595CD6

Accessibility & contrast

On white

11.92
#242691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#242691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242691
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242691#FFFFFF#000000##FFFFFF
##2426911.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242691;
/* rgb */ color: rgb(36, 38, 145);
/* oklch */ color: oklch(35.2% 0.170 272.7);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#242691',
    950: '#000000',
  },
}
SCSS
$custom: #242691;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242691",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 238.899,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.16988,
    "h": 272.7
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#242691
secondary
#BAB956
accent
#E044E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242691

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

Preview Lab → · Contrast checker → · Palette generator →

#242691 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva