#28355D#28355D

#28355D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.073 H 268.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#28355D
RGBrgb(40, 53, 93)
HSLhsl(225, 40%, 26%)
HSVhsv(225, 57%, 36%)
CMYKcmyk(57%, 43%, 0%, 63.5%)
CIE-LABlab(22.96, 7.78, -25.61)
CIE-LCHlch(22.96, 26.76, 286.89°)
OKLaboklab(33.86% -0.0016 -0.0726)
OKLCHoklch(33.86% 0.073 268.7)
XYZxyz(4.1233, 3.7873, 10.8676)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28355D #5D5028
analogous
#284F5D #28355D #35285D
triadic
#28355D #5D2835 #355D28
tetradic
#28355D #5D284F #5D5028 #285D35
square
#28355D #5D284F #5D5028 #285D35
split-complementary
#28355D #5D3528 #4F5D28
monochromatic
#090C15 #161D32 #28355D #3A4D88 #4D66B2

Accessibility & contrast

On white

11.95
#28355D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#28355D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28355D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28355D#FFFFFF#000000##FFFFFF
##28355D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#0E3E44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28355d;
/* rgb */ color: rgb(40, 53, 93);
/* oklch */ color: oklch(33.9% 0.073 268.7);
Tailwind
colors: {
  custom: {
    50: '#666c8b',
    500: '#28355d',
    950: '#000000',
  },
}
SCSS
$custom: #28355d;
$custom-light: #666c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#28355d",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 93
  },
  "hsl": {
    "h": 225.283,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.07258,
    "h": 268.7
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#28355D
secondary
#908051
accent
#B258D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #28355D

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

Preview Lab → · Contrast checker → · Palette generator →

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