#242552#242552

#242552 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.080 H 279.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#242552
RGBrgb(36, 37, 82)
HSLhsl(239, 39%, 23%)
HSVhsv(239, 56%, 32%)
CMYKcmyk(56.1%, 54.9%, 0%, 67.8%)
CIE-LABlab(17.02, 14.11, -27.77)
CIE-LCHlch(17.02, 31.15, 296.93°)
OKLaboklab(29.02% 0.0128 -0.0792)
OKLCHoklch(29.02% 0.08 279.2)
XYZxyz(2.9116, 2.3072, 8.2729)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242552 #525124
analogous
#243C52 #242552 #3A2452
triadic
#242552 #522425 #255224
tetradic
#242552 #52243C #525124 #24523A
square
#242552 #52243C #525124 #24523A
split-complementary
#242552 #523A24 #3C5224
monochromatic
#090A15 #111227 #242552 #37387D #494BA7

Accessibility & contrast

On white

14.37
#242552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242552
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242552#FFFFFF#000000##FFFFFF
##2425521.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#0A2851
Tritanopia (blue-blind)
#112F37
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242552;
/* rgb */ color: rgb(36, 37, 82);
/* oklch */ color: oklch(29.0% 0.080 279.2);
Tailwind
colors: {
  custom: {
    50: '#635f83',
    500: '#242552',
    950: '#000000',
  },
}
SCSS
$custom: #242552;
$custom-light: #635f83;
$custom-dark: #000000;
JSON
{
  "hex": "#242552",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 238.696,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29022,
    "c": 0.0802,
    "h": 279.2
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#242552
secondary
#86844C
accent
#CC59CF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040A
muted
#7A797C

Preview Lab

Preview with #242552

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

Preview Lab → · Contrast checker → · Palette generator →

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