#242564#242564

#242564 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.109 H 277.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#242564
RGBrgb(36, 37, 100)
HSLhsl(239, 47%, 27%)
HSVhsv(239, 64%, 39%)
CMYKcmyk(64%, 63%, 0%, 60.8%)
CIE-LABlab(18.44, 20.82, -37.47)
CIE-LCHlch(18.44, 42.86, 299.06°)
OKLaboklab(30.53% 0.0135 -0.1077)
OKLCHoklch(30.53% 0.109 277.1)
XYZxyz(3.6886, 2.6180, 12.3651)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242564 #646324
analogous
#244564 #242564 #432464
triadic
#242564 #642425 #256424
tetradic
#242564 #642445 #646324 #246443
square
#242564 #642445 #646324 #246443
split-complementary
#242564 #644324 #456424
monochromatic
#080817 #141437 #242564 #343691 #4648BC

Accessibility & contrast

On white

13.78
#242564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#242564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242564
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242564#FFFFFF#000000##FFFFFF
##2425641.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242564;
/* rgb */ color: rgb(36, 37, 100);
/* oklch */ color: oklch(30.5% 0.109 277.1);
Tailwind
colors: {
  custom: {
    50: '#665f91',
    500: '#242564',
    950: '#000000',
  },
}
SCSS
$custom: #242564;
$custom-light: #665f91;
$custom-dark: #000000;
JSON
{
  "hex": "#242564",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 239.063,
    "s": 47.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30533,
    "c": 0.10852,
    "h": 277.1
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#242564
secondary
#97964C
accent
#D551D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #242564

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

Preview Lab → · Contrast checker → · Palette generator →

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