#28358E#28358E

#28358E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.147 H 271.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#28358E
RGBrgb(40, 53, 142)
HSLhsl(232, 56%, 36%)
HSVhsv(232, 72%, 56%)
CMYKcmyk(71.8%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.59, 26.29, -50.92)
CIE-LCHlch(26.59, 57.31, 297.31°)
OKLaboklab(37.75% 0.0028 -0.1469)
OKLCHoklch(37.75% 0.147 271.1)
XYZxyz(7.0290, 4.9496, 26.1709)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358E #8E8128
analogous
#28688E #28358E #4E288E
triadic
#28358E #8E2835 #358E28
tetradic
#28358E #8E2868 #8E8128 #288E4E
square
#28358E #8E2868 #8E8128 #288E4E
split-complementary
#28358E #8E4E28 #688E28
monochromatic
#0D112F #1B235E #28358E #3547BE #5F6DD2

Accessibility & contrast

On white

10.55
#28358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#28358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28358E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358E#FFFFFF#000000##FFFFFF
##28358E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28358e;
/* rgb */ color: rgb(40, 53, 142);
/* oklch */ color: oklch(37.8% 0.147 271.1);
Tailwind
colors: {
  custom: {
    50: '#706cb0',
    500: '#28358e',
    950: '#000000',
  },
}
SCSS
$custom: #28358e;
$custom-light: #706cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#28358e",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 232.353,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.14697,
    "h": 271.1
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#28358E
secondary
#B7AB5B
accent
#CC48DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #28358E

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

Preview Lab → · Contrast checker → · Palette generator →

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