#242091#242091

#242091 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.176 H 273.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#242091
RGBrgb(36, 32, 145)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 57%)
CMYKcmyk(75.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.77, 40.12, -60.71)
CIE-LCHlch(21.77, 72.77, 303.46°)
OKLaboklab(34.29% 0.0108 -0.1756)
OKLCHoklch(34.29% 0.176 273.5)
XYZxyz(6.3532, 3.4518, 27.1140)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242091 #8D9120
analogous
#205591 #242091 #5D2091
triadic
#242091 #912420 #209124
tetradic
#242091 #912055 #8D9120 #20915D
square
#242091 #912055 #8D9120 #20915D
split-complementary
#242091 #915D20 #559120
monochromatic
#0B0A2D #18155F #242091 #302BC3 #5752D9

Accessibility & contrast

On white

12.42
#242091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#242091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242091
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242091#FFFFFF#000000##FFFFFF
##2420911.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242091;
/* rgb */ color: rgb(36, 32, 145);
/* oklch */ color: oklch(34.3% 0.176 273.5);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#242091',
    950: '#000000',
  },
}
SCSS
$custom: #242091;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#242091",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 242.124,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34291,
    "c": 0.17597,
    "h": 273.5
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#242091
secondary
#B8BC51
accent
#E741E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242091

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

Preview Lab → · Contrast checker → · Palette generator →

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