#28243E#28243E

#28243E is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.047 H 290.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#28243E
RGBrgb(40, 36, 62)
HSLhsl(249, 27%, 19%)
HSVhsv(249, 42%, 24%)
CMYKcmyk(35.5%, 41.9%, 0%, 75.7%)
CIE-LABlab(15.80, 9.10, -15.96)
CIE-LCHlch(15.80, 18.38, 299.69°)
OKLaboklab(27.77% 0.0162 -0.0446)
OKLCHoklch(27.77% 0.047 290)
XYZxyz(2.3752, 2.0606, 4.8291)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28243E #3A3E24
analogous
#242D3E #28243E #35243E
triadic
#28243E #3E2824 #243E28
tetradic
#28243E #3E242D #3A3E24 #243E35
square
#28243E #3E242D #3A3E24 #243E35
split-complementary
#28243E #3E3524 #2D3E24
monochromatic
#0C0B13 #0F0E17 #28243E #413A65 #5A518B

Accessibility & contrast

On white

14.87
#28243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28243E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28243E#FFFFFF#000000##FFFFFF
##28243E1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#23292E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28243e;
/* rgb */ color: rgb(40, 36, 62);
/* oklch */ color: oklch(27.8% 0.047 290.0);
Tailwind
colors: {
  custom: {
    50: '#635e73',
    500: '#28243e',
    950: '#000000',
  },
}
SCSS
$custom: #28243e;
$custom-light: #635e73;
$custom-dark: #000000;
JSON
{
  "hex": "#28243e",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 249.231,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2777,
    "c": 0.04742,
    "h": 290
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#28243E
secondary
#6B714D
accent
#C365B4
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #28243E

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

Preview Lab → · Contrast checker → · Palette generator →

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