#242285#242285

#242285 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.159 H 274.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#242285
RGBrgb(36, 34, 133)
HSLhsl(241, 59%, 33%)
HSVhsv(241, 74%, 52%)
CMYKcmyk(72.9%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.87, 34.83, -54.69)
CIE-LCHlch(20.87, 64.84, 302.49°)
OKLaboklab(33.27% 0.0122 -0.1581)
OKLCHoklch(33.27% 0.159 274.4)
XYZxyz(5.5318, 3.2120, 22.5142)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242285 #838522
analogous
#225185 #242285 #552285
triadic
#242285 #852422 #228524
tetradic
#242285 #852251 #838522 #228555
square
#242285 #852251 #838522 #228555
split-complementary
#242285 #855522 #518522
monochromatic
#0A0924 #171654 #242285 #312EB6 #524FD2

Accessibility & contrast

On white

12.78
#242285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#242285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242285
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242285#FFFFFF#000000##FFFFFF
##2422851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242285;
/* rgb */ color: rgb(36, 34, 133);
/* oklch */ color: oklch(33.3% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#6e5eaa',
    500: '#242285',
    950: '#000000',
  },
}
SCSS
$custom: #242285;
$custom-light: #6e5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#242285",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 241.212,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.15861,
    "h": 274.4
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#242285
secondary
#B3B64D
accent
#E245DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242285

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

Preview Lab → · Contrast checker → · Palette generator →

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