#242846#242846

#242846 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.9% C 0.055 H 276.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#242846
RGBrgb(36, 40, 70)
HSLhsl(233, 32%, 21%)
HSVhsv(233, 49%, 27%)
CMYKcmyk(48.6%, 42.9%, 0%, 72.5%)
CIE-LABlab(17.15, 7.59, -19.40)
CIE-LCHlch(17.15, 20.83, 291.36°)
OKLaboklab(28.86% 0.0063 -0.0546)
OKLCHoklch(28.86% 0.055 276.6)
XYZxyz(2.5915, 2.3347, 6.1073)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242846 #464224
analogous
#243946 #242846 #312446
triadic
#242846 #462428 #284624
tetradic
#242846 #462439 #464224 #244631
square
#242846 #462439 #464224 #244631
split-complementary
#242846 #463124 #394624
monochromatic
#0A0C14 #0F111E #242846 #393F6E #4E5697

Accessibility & contrast

On white

14.31
#242846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242846
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242846#FFFFFF#000000##FFFFFF
##2428461.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C47
Deuteranopia (green-blind)
#1B2945
Tritanopia (blue-blind)
#192E33
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242846;
/* rgb */ color: rgb(36, 40, 70);
/* oklch */ color: oklch(28.9% 0.055 276.6);
Tailwind
colors: {
  custom: {
    50: '#616179',
    500: '#242846',
    950: '#000000',
  },
}
SCSS
$custom: #242846;
$custom-light: #616179;
$custom-dark: #000000;
JSON
{
  "hex": "#242846",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 232.941,
    "s": 32.075,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28864,
    "c": 0.05499,
    "h": 276.6
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#242846
secondary
#79744D
accent
#BC60C8
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050509
muted
#79797B

Preview Lab

Preview with #242846

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

Preview Lab → · Contrast checker → · Palette generator →

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