#28366D#28366D

#28366D is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.097 H 270.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#28366D
RGBrgb(40, 54, 109)
HSLhsl(228, 46%, 29%)
HSVhsv(228, 63%, 43%)
CMYKcmyk(63.3%, 50.5%, 0%, 57.3%)
CIE-LABlab(24.30, 13.06, -33.84)
CIE-LCHlch(24.30, 36.27, 291.10°)
OKLaboklab(35.22% 0.0001 -0.0967)
OKLCHoklch(35.22% 0.097 270.1)
XYZxyz(4.9536, 4.1932, 15.0134)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366D #6D5F28
analogous
#28596D #28366D #3D286D
triadic
#28366D #6D2836 #366D28
tetradic
#28366D #6D2859 #6D5F28 #286D3D
square
#28366D #6D2859 #6D5F28 #286D3D
split-complementary
#28366D #6D3D28 #596D28
monochromatic
#080B16 #182040 #28366D #384C9A #5067BF

Accessibility & contrast

On white

11.42
#28366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#28366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28366D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366D#FFFFFF#000000##FFFFFF
##28366D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28366d;
/* rgb */ color: rgb(40, 54, 109);
/* oklch */ color: oklch(35.2% 0.097 270.1);
Tailwind
colors: {
  custom: {
    50: '#696c97',
    500: '#28366d',
    950: '#000000',
  },
}
SCSS
$custom: #28366d;
$custom-light: #696c97;
$custom-dark: #000000;
JSON
{
  "hex": "#28366d",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 227.826,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.09671,
    "h": 270.1
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#28366D
secondary
#9F9051
accent
#BB52D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28366D

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

Preview Lab → · Contrast checker → · Palette generator →

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