#242553#242553

#242553 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.082 H 279.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#242553
RGBrgb(36, 37, 83)
HSLhsl(239, 39%, 23%)
HSVhsv(239, 57%, 33%)
CMYKcmyk(56.6%, 55.4%, 0%, 67.5%)
CIE-LABlab(17.10, 14.47, -28.33)
CIE-LCHlch(17.10, 31.81, 297.06°)
OKLaboklab(29.1% 0.0129 -0.0808)
OKLCHoklch(29.1% 0.082 279.1)
XYZxyz(2.9500, 2.3226, 8.4748)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242553 #535224
analogous
#243C53 #242553 #3A2453
triadic
#242553 #532425 #255324
tetradic
#242553 #53243C #535224 #24533A
square
#242553 #53243C #535224 #24533A
split-complementary
#242553 #533A24 #3C5324
monochromatic
#090A15 #111228 #242553 #37387E #494BA8

Accessibility & contrast

On white

14.34
#242553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242553
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242553#FFFFFF#000000##FFFFFF
##2425531.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C55
Deuteranopia (green-blind)
#092852
Tritanopia (blue-blind)
#102F38
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242553;
/* rgb */ color: rgb(36, 37, 83);
/* oklch */ color: oklch(29.1% 0.082 279.1);
Tailwind
colors: {
  custom: {
    50: '#635f84',
    500: '#242553',
    950: '#000000',
  },
}
SCSS
$custom: #242553;
$custom-light: #635f84;
$custom-dark: #000000;
JSON
{
  "hex": "#242553",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 83
  },
  "hsl": {
    "h": 238.723,
    "s": 39.496,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29101,
    "c": 0.08183,
    "h": 279.1
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#242553
secondary
#87854C
accent
#CD58CF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #242553

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

Preview Lab → · Contrast checker → · Palette generator →

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