#242546#242546

#242546 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.060 H 280.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#242546
RGBrgb(36, 37, 70)
HSLhsl(238, 32%, 21%)
HSVhsv(238, 49%, 27%)
CMYKcmyk(48.6%, 47.1%, 0%, 72.5%)
CIE-LABlab(16.21, 9.76, -20.89)
CIE-LCHlch(16.21, 23.06, 295.04°)
OKLaboklab(28.14% 0.0109 -0.059)
OKLCHoklch(28.14% 0.06 280.5)
XYZxyz(2.4943, 2.1403, 6.0749)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242546 #464524
analogous
#243646 #242546 #342446
triadic
#242546 #462425 #254624
tetradic
#242546 #462436 #464524 #244634
square
#242546 #462436 #464524 #244634
split-complementary
#242546 #463424 #364624
monochromatic
#0A0B14 #0F101E #242546 #393A6E #4E5097

Accessibility & contrast

On white

14.71
#242546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#242546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242546
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242546#FFFFFF#000000##FFFFFF
##2425461.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192947
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#192C32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242546;
/* rgb */ color: rgb(36, 37, 70);
/* oklch */ color: oklch(28.1% 0.060 280.5);
Tailwind
colors: {
  custom: {
    50: '#615f79',
    500: '#242546',
    950: '#000000',
  },
}
SCSS
$custom: #242546;
$custom-light: #615f79;
$custom-dark: #000000;
JSON
{
  "hex": "#242546",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 238.235,
    "s": 32.075,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.06,
    "h": 280.5
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#242546
secondary
#79784D
accent
#C560C8
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #242546

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

Preview Lab → · Contrast checker → · Palette generator →

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