#242543#242543

#242543 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.9% C 0.055 H 280.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#242543
RGBrgb(36, 37, 67)
HSLhsl(238, 30%, 20%)
HSVhsv(238, 46%, 26%)
CMYKcmyk(46.3%, 44.8%, 0%, 73.7%)
CIE-LABlab(16.02, 8.71, -19.12)
CIE-LCHlch(16.02, 21.01, 294.48°)
OKLaboklab(27.94% 0.0103 -0.0538)
OKLCHoklch(27.94% 0.055 280.8)
XYZxyz(2.4019, 2.1034, 5.5885)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242543 #434224
analogous
#243443 #242543 #332443
triadic
#242543 #432425 #254324
tetradic
#242543 #432434 #434224 #244333
square
#242543 #432434 #434224 #244333
split-complementary
#242543 #433324 #344324
monochromatic
#0B0B14 #0F0F1B #242543 #393B6B #4F5193

Accessibility & contrast

On white

14.78
#242543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#242543 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242543
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242543#FFFFFF#000000##FFFFFF
##2425431.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2944
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#1B2B30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242543;
/* rgb */ color: rgb(36, 37, 67);
/* oklch */ color: oklch(27.9% 0.055 280.8);
Tailwind
colors: {
  custom: {
    50: '#605f77',
    500: '#242543',
    950: '#000000',
  },
}
SCSS
$custom: #242543;
$custom-light: #605f77;
$custom-dark: #000000;
JSON
{
  "hex": "#242543",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 67
  },
  "hsl": {
    "h": 238.065,
    "s": 30.097,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27937,
    "c": 0.05479,
    "h": 280.8
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#242543
secondary
#76754D
accent
#C361C6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #242543

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

Preview Lab → · Contrast checker → · Palette generator →

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