#242550#242550

#242550 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.077 H 279.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#242550
RGBrgb(36, 37, 80)
HSLhsl(239, 38%, 23%)
HSVhsv(239, 55%, 31%)
CMYKcmyk(55%, 53.7%, 0%, 68.6%)
CIE-LABlab(16.88, 13.37, -26.65)
CIE-LCHlch(16.88, 29.82, 296.64°)
OKLaboklab(28.87% 0.0126 -0.0759)
OKLCHoklch(28.87% 0.077 279.4)
XYZxyz(2.8366, 2.2772, 7.8779)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242550 #504F24
analogous
#243B50 #242550 #392450
triadic
#242550 #502425 #255024
tetradic
#242550 #50243B #504F24 #245039
square
#242550 #50243B #504F24 #245039
split-complementary
#242550 #503924 #3B5024
monochromatic
#090A15 #111126 #242550 #37397A #4A4CA4

Accessibility & contrast

On white

14.43
#242550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#242550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242550
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242550#FFFFFF#000000##FFFFFF
##2425501.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#0D284F
Tritanopia (blue-blind)
#132E36
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242550;
/* rgb */ color: rgb(36, 37, 80);
/* oklch */ color: oklch(28.9% 0.077 279.4);
Tailwind
colors: {
  custom: {
    50: '#625f81',
    500: '#242550',
    950: '#000000',
  },
}
SCSS
$custom: #242550;
$custom-light: #625f81;
$custom-dark: #000000;
JSON
{
  "hex": "#242550",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 80
  },
  "hsl": {
    "h": 238.636,
    "s": 37.931,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28868,
    "c": 0.07691,
    "h": 279.4
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#242550
secondary
#83824C
accent
#CB5ACE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #242550

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

Preview Lab → · Contrast checker → · Palette generator →

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