#242566#242566

#242566 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.112 H 276.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#242566
RGBrgb(36, 37, 102)
HSLhsl(239, 48%, 27%)
HSVhsv(239, 65%, 40%)
CMYKcmyk(64.7%, 63.7%, 0%, 60%)
CIE-LABlab(18.62, 21.57, -38.50)
CIE-LCHlch(18.62, 44.13, 299.25°)
OKLaboklab(30.71% 0.0135 -0.1107)
OKLCHoklch(30.71% 0.112 276.9)
XYZxyz(3.7866, 2.6572, 12.8811)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242566 #666524
analogous
#244666 #242566 #442466
triadic
#242566 #662425 #256624
tetradic
#242566 #662446 #666524 #246644
square
#242566 #662446 #666524 #246644
split-complementary
#242566 #664424 #466624
monochromatic
#080817 #141539 #242566 #343593 #4748BE

Accessibility & contrast

On white

13.71
#242566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#242566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242566
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242566#FFFFFF#000000##FFFFFF
##2425661.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242566;
/* rgb */ color: rgb(36, 37, 102);
/* oklch */ color: oklch(30.7% 0.112 276.9);
Tailwind
colors: {
  custom: {
    50: '#675f92',
    500: '#242566',
    950: '#000000',
  },
}
SCSS
$custom: #242566;
$custom-light: #675f92;
$custom-dark: #000000;
JSON
{
  "hex": "#242566",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 239.091,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30713,
    "c": 0.11153,
    "h": 276.9
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#242566
secondary
#99984C
accent
#D550D7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #242566

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

Preview Lab → · Contrast checker → · Palette generator →

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