#28364C#28364C

#28364C is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.1% C 0.043 H 259.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#28364C
RGBrgb(40, 54, 76)
HSLhsl(217, 31%, 23%)
HSVhsv(217, 47%, 30%)
CMYKcmyk(47.4%, 28.9%, 0%, 70.2%)
CIE-LABlab(22.34, 1.05, -15.32)
CIE-LCHlch(22.34, 15.36, 273.93°)
OKLaboklab(33.07% -0.0081 -0.0427)
OKLCHoklch(33.07% 0.043 259.2)
XYZxyz(3.4983, 3.6111, 7.3487)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28364C #4C3E28
analogous
#28484C #28364C #2C284C
triadic
#28364C #4C2836 #364C28
tetradic
#28364C #4C2848 #4C3E28 #284C2C
square
#28364C #4C2848 #4C3E28 #284C2C
split-complementary
#28364C #4C2C28 #484C28
monochromatic
#0B0E14 #131A24 #28364C #3D5274 #526F9C

Accessibility & contrast

On white

12.19
#28364C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#28364C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28364C
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28364C#FFFFFF#000000##FFFFFF
##28364C1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374D
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#1B3B3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #28364c;
/* rgb */ color: rgb(40, 54, 76);
/* oklch */ color: oklch(33.1% 0.043 259.2);
Tailwind
colors: {
  custom: {
    50: '#646c7e',
    500: '#28364c',
    950: '#000000',
  },
}
SCSS
$custom: #28364c;
$custom-light: #646c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28364c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 76
  },
  "hsl": {
    "h": 216.667,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.04348,
    "h": 259.2
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#28364C
secondary
#7E6D51
accent
#9F61C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05070A
muted
#7A7A7C

Preview Lab

Preview with #28364C

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

Preview Lab → · Contrast checker → · Palette generator →

#28364C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva