#28366A#28366A

#28366A is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.092 H 269.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#28366A
RGBrgb(40, 54, 106)
HSLhsl(227, 45%, 29%)
HSVhsv(227, 62%, 42%)
CMYKcmyk(62.3%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.10, 11.92, -32.24)
CIE-LCHlch(24.10, 34.37, 290.30°)
OKLaboklab(35% -0.0003 -0.092)
OKLCHoklch(35% 0.092 269.8)
XYZxyz(4.7949, 4.1297, 14.1773)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366A #6A5C28
analogous
#28576A #28366A #3B286A
triadic
#28366A #6A2836 #366A28
tetradic
#28366A #6A2857 #6A5C28 #286A3B
square
#28366A #6A2857 #6A5C28 #286A3B
split-complementary
#28366A #6A3B28 #576A28
monochromatic
#080B16 #171F3E #28366A #394D96 #5067BD

Accessibility & contrast

On white

11.50
#28366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28366A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366A#FFFFFF#000000##FFFFFF
##28366A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#133769
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28366a;
/* rgb */ color: rgb(40, 54, 106);
/* oklch */ color: oklch(35.0% 0.092 269.8);
Tailwind
colors: {
  custom: {
    50: '#696c95',
    500: '#28366a',
    950: '#000000',
  },
}
SCSS
$custom: #28366a;
$custom-light: #696c95;
$custom-dark: #000000;
JSON
{
  "hex": "#28366a",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 227.273,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.092,
    "h": 269.8
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#28366A
secondary
#9D8D51
accent
#B953D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28366A

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

Preview Lab → · Contrast checker → · Palette generator →

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