#242558#242558

#242558 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.090 H 278.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#242558
RGBrgb(36, 37, 88)
HSLhsl(239, 42%, 24%)
HSVhsv(239, 59%, 35%)
CMYKcmyk(59.1%, 58%, 0%, 65.5%)
CIE-LABlab(17.47, 16.33, -31.08)
CIE-LCHlch(17.47, 35.11, 297.71°)
OKLaboklab(29.5% 0.0133 -0.0889)
OKLCHoklch(29.5% 0.09 278.5)
XYZxyz(3.1500, 2.4026, 9.5284)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242558 #585724
analogous
#243F58 #242558 #3D2458
triadic
#242558 #582425 #255824
tetradic
#242558 #58243F #585724 #24583D
square
#242558 #58243F #585724 #24583D
split-complementary
#242558 #583D24 #3F5824
monochromatic
#090916 #12132D #242558 #363783 #484AAF

Accessibility & contrast

On white

14.18
#242558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#242558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242558
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242558#FFFFFF#000000##FFFFFF
##2425581.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#012957
Tritanopia (blue-blind)
#0B313A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242558;
/* rgb */ color: rgb(36, 37, 88);
/* oklch */ color: oklch(29.5% 0.090 278.5);
Tailwind
colors: {
  custom: {
    50: '#645f87',
    500: '#242558',
    950: '#000000',
  },
}
SCSS
$custom: #242558;
$custom-light: #645f87;
$custom-dark: #000000;
JSON
{
  "hex": "#242558",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 238.846,
    "s": 41.935,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29503,
    "c": 0.0899,
    "h": 278.5
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#242558
secondary
#8C8A4C
accent
#CF56D2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #242558

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

Preview Lab → · Contrast checker → · Palette generator →

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