#28356B#28356B

#28356B is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.095 H 270.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#28356B
RGBrgb(40, 53, 107)
HSLhsl(228, 46%, 29%)
HSVhsv(228, 63%, 42%)
CMYKcmyk(62.6%, 50.5%, 0%, 58%)
CIE-LABlab(23.86, 13.00, -33.25)
CIE-LCHlch(23.86, 35.71, 291.35°)
OKLaboklab(34.85% 0.001 -0.095)
OKLCHoklch(34.85% 0.095 270.6)
XYZxyz(4.8011, 4.0585, 14.4374)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28356B #6B5E28
analogous
#28576B #28356B #3D286B
triadic
#28356B #6B2835 #356B28
tetradic
#28356B #6B2857 #6B5E28 #286B3D
square
#28356B #6B2857 #6B5E28 #286B3D
split-complementary
#28356B #6B3D28 #576B28
monochromatic
#080B16 #171F3E #28356B #394B98 #5065BE

Accessibility & contrast

On white

11.59
#28356B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#28356B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28356B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28356B#FFFFFF#000000##FFFFFF
##28356B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28356b;
/* rgb */ color: rgb(40, 53, 107);
/* oklch */ color: oklch(34.8% 0.095 270.6);
Tailwind
colors: {
  custom: {
    50: '#696b96',
    500: '#28356b',
    950: '#000000',
  },
}
SCSS
$custom: #28356b;
$custom-light: #696b96;
$custom-dark: #000000;
JSON
{
  "hex": "#28356b",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 107
  },
  "hsl": {
    "h": 228.358,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.09501,
    "h": 270.6
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#28356B
secondary
#9D8F51
accent
#BC53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #28356B

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

Preview Lab → · Contrast checker → · Palette generator →

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