#242985#242985

#242985 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.151 H 272.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#242985
RGBrgb(36, 41, 133)
HSLhsl(237, 57%, 33%)
HSVhsv(237, 73%, 52%)
CMYKcmyk(72.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.49, 30.40, -52.03)
CIE-LCHlch(22.49, 60.26, 300.30°)
OKLaboklab(34.43% 0.0077 -0.1504)
OKLCHoklch(34.43% 0.151 272.9)
XYZxyz(5.7527, 3.6538, 22.5878)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242985 #858024
analogous
#245985 #242985 #4F2485
triadic
#242985 #852429 #298524
tetradic
#242985 #852459 #858024 #24854F
square
#242985 #852459 #858024 #24854F
split-complementary
#242985 #854F24 #598524
monochromatic
#0A0B25 #171A55 #242985 #3138B5 #5359D0

Accessibility & contrast

On white

12.13
#242985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242985
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242985#FFFFFF#000000##FFFFFF
##2429851.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242985;
/* rgb */ color: rgb(36, 41, 133);
/* oklch */ color: oklch(34.4% 0.151 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e63a9',
    500: '#242985',
    950: '#000000',
  },
}
SCSS
$custom: #242985;
$custom-light: #6e63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242985",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 236.907,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.15057,
    "h": 272.9
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#242985
secondary
#B4AF50
accent
#D947E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242985

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

Preview Lab → · Contrast checker → · Palette generator →

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