#242556#242556

#242556 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.087 H 278.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#242556
RGBrgb(36, 37, 86)
HSLhsl(239, 41%, 24%)
HSVhsv(239, 58%, 34%)
CMYKcmyk(58.1%, 57%, 0%, 66.3%)
CIE-LABlab(17.32, 15.59, -29.99)
CIE-LCHlch(17.32, 33.80, 297.46°)
OKLaboklab(29.34% 0.0132 -0.0857)
OKLCHoklch(29.34% 0.087 278.7)
XYZxyz(3.0683, 2.3699, 9.0980)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242556 #565524
analogous
#243E56 #242556 #3C2456
triadic
#242556 #562425 #255624
tetradic
#242556 #56243E #565524 #24563C
square
#242556 #56243E #565524 #24563C
split-complementary
#242556 #563C24 #3E5624
monochromatic
#090916 #12122B #242556 #363881 #484AAC

Accessibility & contrast

On white

14.25
#242556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242556
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242556#FFFFFF#000000##FFFFFF
##2425561.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D58
Deuteranopia (green-blind)
#042955
Tritanopia (blue-blind)
#0D3039
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242556;
/* rgb */ color: rgb(36, 37, 86);
/* oklch */ color: oklch(29.3% 0.087 278.7);
Tailwind
colors: {
  custom: {
    50: '#645f86',
    500: '#242556',
    950: '#000000',
  },
}
SCSS
$custom: #242556;
$custom-light: #645f86;
$custom-dark: #000000;
JSON
{
  "hex": "#242556",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 238.8,
    "s": 40.984,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2934,
    "c": 0.0867,
    "h": 278.7
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#242556
secondary
#8A884C
accent
#CE57D1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #242556

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

Preview Lab → · Contrast checker → · Palette generator →

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