#28386F#28386F

#28386F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.097 H 268.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#28386F
RGBrgb(40, 56, 111)
HSLhsl(226, 47%, 30%)
HSVhsv(226, 64%, 44%)
CMYKcmyk(64%, 49.5%, 0%, 56.5%)
CIE-LABlab(25.03, 12.42, -33.94)
CIE-LCHlch(25.03, 36.15, 290.10°)
OKLaboklab(35.83% -0.0019 -0.097)
OKLCHoklch(35.83% 0.097 268.9)
XYZxyz(5.1575, 4.4267, 15.6185)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28386F #6F5F28
analogous
#285C6F #28386F #3C286F
triadic
#28386F #6F2838 #386F28
tetradic
#28386F #6F285C #6F5F28 #286F3C
square
#28386F #6F285C #6F5F28 #286F3C
split-complementary
#28386F #6F3C28 #5C6F28
monochromatic
#080B16 #182142 #28386F #384F9C #516AC0

Accessibility & contrast

On white

11.14
#28386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#28386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28386F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28386F#FFFFFF#000000##FFFFFF
##28386F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#11386E
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28386f;
/* rgb */ color: rgb(40, 56, 111);
/* oklch */ color: oklch(35.8% 0.097 268.9);
Tailwind
colors: {
  custom: {
    50: '#696e99',
    500: '#28386f',
    950: '#000000',
  },
}
SCSS
$custom: #28386f;
$custom-light: #696e99;
$custom-dark: #000000;
JSON
{
  "hex": "#28386f",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 226.479,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35826,
    "c": 0.097,
    "h": 268.9
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#28386F
secondary
#A18F51
accent
#B951D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #28386F

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

Preview Lab → · Contrast checker → · Palette generator →

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