#28358B#28358B

#28358B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.143 H 271.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#28358B
RGBrgb(40, 53, 139)
HSLhsl(232, 55%, 35%)
HSVhsv(232, 71%, 55%)
CMYKcmyk(71.2%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.33, 25.16, -49.48)
CIE-LCHlch(26.33, 55.51, 296.96°)
OKLaboklab(37.48% 0.0029 -0.1427)
OKLCHoklch(37.48% 0.143 271.2)
XYZxyz(6.8068, 4.8607, 25.0006)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358B #8B7E28
analogous
#28678B #28358B #4C288B
triadic
#28358B #8B2835 #358B28
tetradic
#28358B #8B2867 #8B7E28 #288B4C
square
#28358B #8B2867 #8B7E28 #288B4C
split-complementary
#28358B #8B4C28 #678B28
monochromatic
#0D112C #1A235B #28358B #3647BB #5D6CD0

Accessibility & contrast

On white

10.65
#28358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#28358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28358B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358B#FFFFFF#000000##FFFFFF
##28358B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28358b;
/* rgb */ color: rgb(40, 53, 139);
/* oklch */ color: oklch(37.5% 0.143 271.2);
Tailwind
colors: {
  custom: {
    50: '#706cae',
    500: '#28358b',
    950: '#000000',
  },
}
SCSS
$custom: #28358b;
$custom-light: #706cae;
$custom-dark: #000000;
JSON
{
  "hex": "#28358b",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 232.121,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.14274,
    "h": 271.2
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28358B

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

Preview Lab → · Contrast checker → · Palette generator →

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