#28366B#28366B

#28366B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.094 H 269.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#28366B
RGBrgb(40, 54, 107)
HSLhsl(227, 46%, 29%)
HSVhsv(227, 63%, 42%)
CMYKcmyk(62.6%, 49.5%, 0%, 58%)
CIE-LABlab(24.16, 12.30, -32.78)
CIE-LCHlch(24.16, 35.01, 290.57°)
OKLaboklab(35.07% -0.0002 -0.0936)
OKLCHoklch(35.07% 0.094 269.9)
XYZxyz(4.8472, 4.1506, 14.4528)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366B #6B5D28
analogous
#28586B #28366B #3C286B
triadic
#28366B #6B2836 #366B28
tetradic
#28366B #6B2858 #6B5D28 #286B3C
square
#28366B #6B2858 #6B5D28 #286B3C
split-complementary
#28366B #6B3C28 #586B28
monochromatic
#080B16 #17203E #28366B #394C98 #5067BE

Accessibility & contrast

On white

11.47
#28366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#28366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28366B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366B#FFFFFF#000000##FFFFFF
##28366B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6D
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28366b;
/* rgb */ color: rgb(40, 54, 107);
/* oklch */ color: oklch(35.1% 0.094 269.9);
Tailwind
colors: {
  custom: {
    50: '#696c96',
    500: '#28366b',
    950: '#000000',
  },
}
SCSS
$custom: #28366b;
$custom-light: #696c96;
$custom-dark: #000000;
JSON
{
  "hex": "#28366b",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 227.463,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.09357,
    "h": 269.9
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#28366B
secondary
#9D8E51
accent
#BA53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28366B

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

Preview Lab → · Contrast checker → · Palette generator →

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