#28356F#28356F

#28356F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.101 H 270.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#28356F
RGBrgb(40, 53, 111)
HSLhsl(229, 47%, 30%)
HSVhsv(229, 64%, 44%)
CMYKcmyk(64%, 52.3%, 0%, 56.5%)
CIE-LABlab(24.14, 14.52, -35.38)
CIE-LCHlch(24.14, 38.24, 292.31°)
OKLaboklab(35.15% 0.0015 -0.1012)
OKLCHoklch(35.15% 0.101 270.9)
XYZxyz(5.0165, 4.1446, 15.5715)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28356F #6F6228
analogous
#28596F #28356F #3F286F
triadic
#28356F #6F2835 #356F28
tetradic
#28356F #6F2859 #6F6228 #286F3F
square
#28356F #6F2859 #6F6228 #286F3F
split-complementary
#28356F #6F3F28 #596F28
monochromatic
#080B16 #182042 #28356F #384A9C #5165C0

Accessibility & contrast

On white

11.48
#28356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#28356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28356F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28356F#FFFFFF#000000##FFFFFF
##28356F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#07366E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28356f;
/* rgb */ color: rgb(40, 53, 111);
/* oklch */ color: oklch(35.1% 0.101 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a6b99',
    500: '#28356f',
    950: '#000000',
  },
}
SCSS
$custom: #28356f;
$custom-light: #6a6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#28356f",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 229.014,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.10124,
    "h": 270.9
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#28356F
secondary
#A19351
accent
#BE51D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #28356F

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

Preview Lab → · Contrast checker → · Palette generator →

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