#28358C#28358C

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

Color values

HEX#28358C
RGBrgb(40, 53, 140)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 71%, 55%)
CMYKcmyk(71.4%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.42, 25.54, -49.96)
CIE-LCHlch(26.42, 56.11, 297.08°)
OKLaboklab(37.57% 0.0029 -0.1441)
OKLCHoklch(37.57% 0.144 271.1)
XYZxyz(6.8802, 4.8901, 25.3872)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358C #8C7F28
analogous
#28678C #28358C #4D288C
triadic
#28358C #8C2835 #358C28
tetradic
#28358C #8C2867 #8C7F28 #288C4D
square
#28358C #8C2867 #8C7F28 #288C4D
split-complementary
#28358C #8C4D28 #678C28
monochromatic
#0D112D #1A235C #28358C #3647BC #5E6DD1

Accessibility & contrast

On white

10.62
#28358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28358C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358C#FFFFFF#000000##FFFFFF
##28358C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28358c;
/* rgb */ color: rgb(40, 53, 140);
/* oklch */ color: oklch(37.6% 0.144 271.1);
Tailwind
colors: {
  custom: {
    50: '#706cae',
    500: '#28358c',
    950: '#000000',
  },
}
SCSS
$custom: #28358c;
$custom-light: #706cae;
$custom-dark: #000000;
JSON
{
  "hex": "#28358c",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 232.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37571,
    "c": 0.14415,
    "h": 271.1
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#28358C
secondary
#B6AA5A
accent
#CB49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #28358C

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

Preview Lab → · Contrast checker → · Palette generator →

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