#28243D#28243D

#28243D is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.7% C 0.046 H 290.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#28243D
RGBrgb(40, 36, 61)
HSLhsl(250, 26%, 19%)
HSVhsv(250, 41%, 24%)
CMYKcmyk(34.4%, 41%, 0%, 76.1%)
CIE-LABlab(15.75, 8.78, -15.35)
CIE-LCHlch(15.75, 17.69, 299.78°)
OKLaboklab(27.71% 0.0159 -0.0428)
OKLCHoklch(27.71% 0.046 290.4)
XYZxyz(2.3480, 2.0497, 4.6859)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28243D #393D24
analogous
#242D3D #28243D #35243D
triadic
#28243D #3D2824 #243D28
tetradic
#28243D #3D242D #393D24 #243D35
square
#28243D #3D242D #393D24 #243D35
split-complementary
#28243D #3D3524 #2D3D24
monochromatic
#0D0B13 #0F0D17 #28243D #413B63 #5A518A

Accessibility & contrast

On white

14.89
#28243D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#28243D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28243D
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28243D#FFFFFF#000000##FFFFFF
##28243D1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283E
Deuteranopia (green-blind)
#1D273C
Tritanopia (blue-blind)
#23282D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28243d;
/* rgb */ color: rgb(40, 36, 61);
/* oklch */ color: oklch(27.7% 0.046 290.4);
Tailwind
colors: {
  custom: {
    50: '#625e72',
    500: '#28243d',
    950: '#000000',
  },
}
SCSS
$custom: #28243d;
$custom-light: #625e72;
$custom-dark: #000000;
JSON
{
  "hex": "#28243d",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 61
  },
  "hsl": {
    "h": 249.6,
    "s": 25.773,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.04566,
    "h": 290.4
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#28243D
secondary
#6A6F4D
accent
#C266B3
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050408
muted
#79797B

Preview Lab

Preview with #28243D

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

Preview Lab → · Contrast checker → · Palette generator →

#28243D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva