#242580#242580

#242580 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.149 H 274.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#242580
RGBrgb(36, 37, 128)
HSLhsl(239, 56%, 32%)
HSVhsv(239, 72%, 50%)
CMYKcmyk(71.9%, 71.1%, 0%, 49.8%)
CIE-LABlab(21.04, 31.17, -51.26)
CIE-LCHlch(21.04, 59.99, 301.30°)
OKLaboklab(33.23% 0.0111 -0.1481)
OKLCHoklch(33.23% 0.149 274.3)
XYZxyz(5.2841, 3.2562, 20.7679)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242580 #807F24
analogous
#245380 #242580 #512480
triadic
#242580 #802425 #258024
tetradic
#242580 #802453 #807F24 #248051
square
#242580 #802453 #807F24 #248051
split-complementary
#242580 #805124 #538024
monochromatic
#090920 #171750 #242580 #3133B0 #5052CE

Accessibility & contrast

On white

12.72
#242580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#242580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242580
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242580#FFFFFF#000000##FFFFFF
##2425801.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242580;
/* rgb */ color: rgb(36, 37, 128);
/* oklch */ color: oklch(33.2% 0.149 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d60a6',
    500: '#242580',
    950: '#000000',
  },
}
SCSS
$custom: #242580;
$custom-light: #6d60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#242580",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 239.348,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.14854,
    "h": 274.3
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#242580
secondary
#B2B14E
accent
#DE48DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #242580

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

Preview Lab → · Contrast checker → · Palette generator →

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