#242185#242185

#242185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.160 H 274.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#242185
RGBrgb(36, 33, 133)
HSLhsl(242, 60%, 33%)
HSVhsv(242, 75%, 52%)
CMYKcmyk(72.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.66, 35.43, -55.05)
CIE-LCHlch(20.66, 65.47, 302.77°)
OKLaboklab(33.11% 0.0128 -0.1592)
OKLCHoklch(33.11% 0.16 274.6)
XYZxyz(5.5036, 3.1557, 22.5048)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242185 #828521
analogous
#215085 #242185 #562185
triadic
#242185 #852421 #218524
tetradic
#242185 #852150 #828521 #218556
square
#242185 #852150 #828521 #218556
split-complementary
#242185 #855621 #508521
monochromatic
#090923 #171554 #242185 #312DB6 #514DD3

Accessibility & contrast

On white

12.87
#242185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#242185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242185
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242185#FFFFFF#000000##FFFFFF
##2421851.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242185;
/* rgb */ color: rgb(36, 33, 133);
/* oklch */ color: oklch(33.1% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f5eaa',
    500: '#242185',
    950: '#000000',
  },
}
SCSS
$custom: #242185;
$custom-light: #6f5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#242185",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 241.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33112,
    "c": 0.15969,
    "h": 274.6
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#242185
secondary
#B3B64C
accent
#E344DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242185

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

Preview Lab → · Contrast checker → · Palette generator →

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