#242182#242182

#242182 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.156 H 274.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#242182
RGBrgb(36, 33, 130)
HSLhsl(242, 60%, 32%)
HSVhsv(242, 75%, 51%)
CMYKcmyk(72.3%, 74.6%, 0%, 49%)
CIE-LABlab(20.34, 34.38, -53.68)
CIE-LCHlch(20.34, 63.75, 302.64°)
OKLaboklab(32.79% 0.0133 -0.1552)
OKLCHoklch(32.79% 0.156 274.9)
XYZxyz(5.2993, 3.0740, 21.4288)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242182 #7F8221
analogous
#214F82 #242182 #552182
triadic
#242182 #822421 #218224
tetradic
#242182 #82214F #7F8221 #218255
square
#242182 #82214F #7F8221 #218255
split-complementary
#242182 #825521 #4F8221
monochromatic
#090820 #161551 #242182 #322DB3 #504CD2

Accessibility & contrast

On white

13.00
#242182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242182
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242182#FFFFFF#000000##FFFFFF
##2421821.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242182;
/* rgb */ color: rgb(36, 33, 130);
/* oklch */ color: oklch(32.8% 0.156 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e5da7',
    500: '#242182',
    950: '#000000',
  },
}
SCSS
$custom: #242182;
$custom-light: #6e5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#242182",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 241.856,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32789,
    "c": 0.15577,
    "h": 274.9
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#242182
secondary
#B1B44A
accent
#E345DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242182

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

Preview Lab → · Contrast checker → · Palette generator →

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