#28366C#28366C

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

Color values

HEX#28366C
RGBrgb(40, 54, 108)
HSLhsl(228, 46%, 29%)
HSVhsv(228, 63%, 42%)
CMYKcmyk(63%, 50%, 0%, 57.6%)
CIE-LABlab(24.23, 12.68, -33.31)
CIE-LCHlch(24.23, 35.64, 290.84°)
OKLaboklab(35.15% 0 -0.0951)
OKLCHoklch(35.15% 0.095 270)
XYZxyz(4.9001, 4.1718, 14.7315)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366C #6C5E28
analogous
#28586C #28366C #3C286C
triadic
#28366C #6C2836 #366C28
tetradic
#28366C #6C2858 #6C5E28 #286C3C
square
#28366C #6C2858 #6C5E28 #286C3C
split-complementary
#28366C #6C3C28 #586C28
monochromatic
#080B16 #17203F #28366C #394C99 #5067BE

Accessibility & contrast

On white

11.45
#28366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28366C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366C#FFFFFF#000000##FFFFFF
##28366C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#10376B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28366c;
/* rgb */ color: rgb(40, 54, 108);
/* oklch */ color: oklch(35.1% 0.095 270.0);
Tailwind
colors: {
  custom: {
    50: '#696c96',
    500: '#28366c',
    950: '#000000',
  },
}
SCSS
$custom: #28366c;
$custom-light: #696c96;
$custom-dark: #000000;
JSON
{
  "hex": "#28366c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 227.647,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.09514,
    "h": 270
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28366C

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

Preview Lab → · Contrast checker → · Palette generator →

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