#242582#242582

#242582 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.151 H 274.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#242582
RGBrgb(36, 37, 130)
HSLhsl(239, 57%, 33%)
HSVhsv(239, 72%, 51%)
CMYKcmyk(72.3%, 71.5%, 0%, 49%)
CIE-LABlab(21.24, 31.89, -52.19)
CIE-LCHlch(21.24, 61.16, 301.42°)
OKLaboklab(33.44% 0.0108 -0.1509)
OKLCHoklch(33.44% 0.151 274.1)
XYZxyz(5.4170, 3.3094, 21.4681)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242582 #828124
analogous
#245482 #242582 #522482
triadic
#242582 #822425 #258224
tetradic
#242582 #822454 #828124 #248252
square
#242582 #822454 #828124 #248252
split-complementary
#242582 #825224 #548224
monochromatic
#090A22 #171752 #242582 #3133B2 #5153CF

Accessibility & contrast

On white

12.64
#242582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242582
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242582#FFFFFF#000000##FFFFFF
##2425821.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242582;
/* rgb */ color: rgb(36, 37, 130);
/* oklch */ color: oklch(33.4% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d60a7',
    500: '#242582',
    950: '#000000',
  },
}
SCSS
$custom: #242582;
$custom-light: #6d60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#242582",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 239.362,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33437,
    "c": 0.15125,
    "h": 274.1
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#242582
secondary
#B3B24F
accent
#DE48E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242582

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

Preview Lab → · Contrast checker → · Palette generator →

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