#242568#242568

#242568 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.115 H 276.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#242568
RGBrgb(36, 37, 104)
HSLhsl(239, 49%, 27%)
HSVhsv(239, 65%, 41%)
CMYKcmyk(65.4%, 64.4%, 0%, 59.2%)
CIE-LABlab(18.79, 22.31, -39.53)
CIE-LCHlch(18.79, 45.39, 299.45°)
OKLaboklab(30.9% 0.0134 -0.1137)
OKLCHoklch(30.9% 0.115 276.7)
XYZxyz(3.8870, 2.6974, 13.4098)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242568 #686724
analogous
#244768 #242568 #452468
triadic
#242568 #682425 #256824
tetradic
#242568 #682447 #686724 #246845
square
#242568 #682447 #686724 #246845
split-complementary
#242568 #684524 #476824
monochromatic
#080817 #14153B #242568 #343595 #4749BF

Accessibility & contrast

On white

13.64
#242568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#242568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242568
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242568#FFFFFF#000000##FFFFFF
##2425681.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #242568;
/* rgb */ color: rgb(36, 37, 104);
/* oklch */ color: oklch(30.9% 0.115 276.7);
Tailwind
colors: {
  custom: {
    50: '#675f94',
    500: '#242568',
    950: '#000000',
  },
}
SCSS
$custom: #242568;
$custom-light: #675f94;
$custom-dark: #000000;
JSON
{
  "hex": "#242568",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 239.118,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.11452,
    "h": 276.7
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#242568
secondary
#9B9A4C
accent
#D650D8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #242568

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

Preview Lab → · Contrast checker → · Palette generator →

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