#28358D#28358D

#28358D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.146 H 271.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#28358D
RGBrgb(40, 53, 141)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 72%, 55%)
CMYKcmyk(71.6%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.50, 25.92, -50.44)
CIE-LCHlch(26.50, 56.71, 297.19°)
OKLaboklab(37.66% 0.0029 -0.1455)
OKLCHoklch(37.66% 0.146 271.1)
XYZxyz(6.9543, 4.9197, 25.7772)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358D #8D8028
analogous
#28678D #28358D #4D288D
triadic
#28358D #8D2835 #358D28
tetradic
#28358D #8D2867 #8D8028 #288D4D
square
#28358D #8D2867 #8D8028 #288D4D
split-complementary
#28358D #8D4D28 #678D28
monochromatic
#0D112E #1A235D #28358D #3647BD #5E6DD1

Accessibility & contrast

On white

10.58
#28358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#28358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28358D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358D#FFFFFF#000000##FFFFFF
##28358D1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28358d;
/* rgb */ color: rgb(40, 53, 141);
/* oklch */ color: oklch(37.7% 0.146 271.1);
Tailwind
colors: {
  custom: {
    50: '#706caf',
    500: '#28358d',
    950: '#000000',
  },
}
SCSS
$custom: #28358d;
$custom-light: #706caf;
$custom-dark: #000000;
JSON
{
  "hex": "#28358d",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 232.277,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.14556,
    "h": 271.1
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#28358D
secondary
#B7AB5A
accent
#CC49DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #28358D

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

Preview Lab → · Contrast checker → · Palette generator →

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