#242488#242488

#242488 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.160 H 273.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#242488
RGBrgb(36, 36, 136)
HSLhsl(240, 58%, 34%)
HSVhsv(240, 74%, 53%)
CMYKcmyk(73.5%, 73.5%, 0%, 46.7%)
CIE-LABlab(21.63, 34.66, -55.33)
CIE-LCHlch(21.63, 65.29, 302.06°)
OKLaboklab(33.9% 0.0105 -0.16)
OKLCHoklch(33.9% 0.16 273.8)
XYZxyz(5.8009, 3.4138, 23.6410)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242488 #888824
analogous
#245688 #242488 #562488
triadic
#242488 #882424 #248824
tetradic
#242488 #882456 #888824 #248856
square
#242488 #882456 #888824 #248856
split-complementary
#242488 #885624 #568824
monochromatic
#0A0A27 #171758 #242488 #3131B8 #5555D2

Accessibility & contrast

On white

12.48
#242488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242488
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242488#FFFFFF#000000##FFFFFF
##2424881.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242488;
/* rgb */ color: rgb(36, 36, 136);
/* oklch */ color: oklch(33.9% 0.160 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#242488',
    950: '#000000',
  },
}
SCSS
$custom: #242488;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242488",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.16035,
    "h": 273.8
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#242488
secondary
#B6B652
accent
#E146E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242488

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

Preview Lab → · Contrast checker → · Palette generator →

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