#28355A#28355A

#28355A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.068 H 268.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#28355A
RGBrgb(40, 53, 90)
HSLhsl(224, 38%, 25%)
HSVhsv(224, 56%, 35%)
CMYKcmyk(55.6%, 41.1%, 0%, 64.7%)
CIE-LABlab(22.78, 6.68, -23.92)
CIE-LCHlch(22.78, 24.84, 285.60°)
OKLaboklab(33.66% -0.0023 -0.0676)
OKLCHoklch(33.66% 0.068 268)
XYZxyz(3.9930, 3.7352, 10.1814)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28355A #5A4D28
analogous
#284E5A #28355A #34285A
triadic
#28355A #5A2835 #355A28
tetradic
#28355A #5A284E #5A4D28 #285A34
square
#28355A #5A284E #5A4D28 #285A34
split-complementary
#28355A #5A3428 #4E5A28
monochromatic
#090C15 #151C30 #28355A #3B4E84 #4E67AF

Accessibility & contrast

On white

12.02
#28355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28355A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28355A#FFFFFF#000000##FFFFFF
##28355A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395B
Deuteranopia (green-blind)
#213459
Tritanopia (blue-blind)
#113D43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #28355a;
/* rgb */ color: rgb(40, 53, 90);
/* oklch */ color: oklch(33.7% 0.068 268.0);
Tailwind
colors: {
  custom: {
    50: '#666c89',
    500: '#28355a',
    950: '#000000',
  },
}
SCSS
$custom: #28355a;
$custom-light: #666c89;
$custom-dark: #000000;
JSON
{
  "hex": "#28355a",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 224.4,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.06768,
    "h": 268
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#28355A
secondary
#8D7D51
accent
#B059CE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #28355A

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

Preview Lab → · Contrast checker → · Palette generator →

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