#28356E#28356E

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

Color values

HEX#28356E
RGBrgb(40, 53, 110)
HSLhsl(229, 47%, 29%)
HSVhsv(229, 64%, 43%)
CMYKcmyk(63.6%, 51.8%, 0%, 56.9%)
CIE-LABlab(24.07, 14.14, -34.85)
CIE-LCHlch(24.07, 37.61, 292.08°)
OKLaboklab(35.07% 0.0014 -0.0997)
OKLCHoklch(35.07% 0.1 270.8)
XYZxyz(4.9617, 4.1227, 15.2831)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28356E #6E6128
analogous
#28586E #28356E #3E286E
triadic
#28356E #6E2835 #356E28
tetradic
#28356E #6E2858 #6E6128 #286E3E
square
#28356E #6E2858 #6E6128 #286E3E
split-complementary
#28356E #6E3E28 #586E28
monochromatic
#080B16 #181F41 #28356E #384B9B #5165C0

Accessibility & contrast

On white

11.51
#28356E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#28356E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28356E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28356E#FFFFFF#000000##FFFFFF
##28356E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28356e;
/* rgb */ color: rgb(40, 53, 110);
/* oklch */ color: oklch(35.1% 0.100 270.8);
Tailwind
colors: {
  custom: {
    50: '#696b98',
    500: '#28356e',
    950: '#000000',
  },
}
SCSS
$custom: #28356e;
$custom-light: #696b98;
$custom-dark: #000000;
JSON
{
  "hex": "#28356e",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 110
  },
  "hsl": {
    "h": 228.857,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.09969,
    "h": 270.8
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#28356E
secondary
#A09251
accent
#BE51D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #28356E

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

Preview Lab → · Contrast checker → · Palette generator →

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