#28355B#28355B

#28355B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.7% C 0.069 H 268.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#28355B
RGBrgb(40, 53, 91)
HSLhsl(225, 39%, 26%)
HSVhsv(225, 56%, 36%)
CMYKcmyk(56%, 41.8%, 0%, 64.3%)
CIE-LABlab(22.84, 7.04, -24.49)
CIE-LCHlch(22.84, 25.48, 286.05°)
OKLaboklab(33.73% -0.0021 -0.0693)
OKLCHoklch(33.73% 0.069 268.3)
XYZxyz(4.0359, 3.7524, 10.4071)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28355B #5B4E28
analogous
#284E5B #28355B #34285B
triadic
#28355B #5B2835 #355B28
tetradic
#28355B #5B284E #5B4E28 #285B34
square
#28355B #5B284E #5B4E28 #285B34
split-complementary
#28355B #5B3428 #4E5B28
monochromatic
#090C15 #151C30 #28355B #3B4E86 #4D67B0

Accessibility & contrast

On white

12.00
#28355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#28355B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28355B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28355B#FFFFFF#000000##FFFFFF
##28355B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#103D43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #28355b;
/* rgb */ color: rgb(40, 53, 91);
/* oklch */ color: oklch(33.7% 0.069 268.3);
Tailwind
colors: {
  custom: {
    50: '#666c89',
    500: '#28355b',
    950: '#000000',
  },
}
SCSS
$custom: #28355b;
$custom-light: #666c89;
$custom-dark: #000000;
JSON
{
  "hex": "#28355b",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 224.706,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33725,
    "c": 0.06931,
    "h": 268.3
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#28355B
secondary
#8E7E51
accent
#B159CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #28355B

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

Preview Lab → · Contrast checker → · Palette generator →

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