#28366F#28366F

#28366F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.100 H 270.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#28366F
RGBrgb(40, 54, 111)
HSLhsl(228, 47%, 30%)
HSVhsv(228, 64%, 44%)
CMYKcmyk(64%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.44, 13.82, -34.90)
CIE-LCHlch(24.44, 37.54, 291.60°)
OKLaboklab(35.37% 0.0004 -0.0998)
OKLCHoklch(35.37% 0.1 270.2)
XYZxyz(5.0625, 4.2367, 15.5868)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366F #6F6128
analogous
#285A6F #28366F #3E286F
triadic
#28366F #6F2836 #366F28
tetradic
#28366F #6F285A #6F6128 #286F3E
square
#28366F #6F285A #6F6128 #286F3E
split-complementary
#28366F #6F3E28 #5A6F28
monochromatic
#080B16 #182042 #28366F #384C9C #5167C0

Accessibility & contrast

On white

11.37
#28366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#28366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28366F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366F#FFFFFF#000000##FFFFFF
##28366F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D71
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28366f;
/* rgb */ color: rgb(40, 54, 111);
/* oklch */ color: oklch(35.4% 0.100 270.2);
Tailwind
colors: {
  custom: {
    50: '#6a6c99',
    500: '#28366f',
    950: '#000000',
  },
}
SCSS
$custom: #28366f;
$custom-light: #6a6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#28366f",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 228.169,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35373,
    "c": 0.09982,
    "h": 270.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#28366F
secondary
#A19251
accent
#BC51D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #28366F

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

Preview Lab → · Contrast checker → · Palette generator →

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