#28358F#28358F

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

Color values

HEX#28358F
RGBrgb(40, 53, 143)
HSLhsl(232, 56%, 36%)
HSVhsv(232, 72%, 56%)
CMYKcmyk(72%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.68, 26.67, -51.40)
CIE-LCHlch(26.68, 57.90, 297.42°)
OKLaboklab(37.84% 0.0028 -0.1483)
OKLCHoklch(37.84% 0.148 271.1)
XYZxyz(7.1044, 4.9798, 26.5681)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358F #8F8228
analogous
#28688F #28358F #4E288F
triadic
#28358F #8F2835 #358F28
tetradic
#28358F #8F2868 #8F8228 #288F4E
square
#28358F #8F2868 #8F8228 #288F4E
split-complementary
#28358F #8F4E28 #688F28
monochromatic
#0D122F #1B235F #28358F #3547BF #5F6ED2

Accessibility & contrast

On white

10.52
#28358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#28358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28358F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358F#FFFFFF#000000##FFFFFF
##28358F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28358f;
/* rgb */ color: rgb(40, 53, 143);
/* oklch */ color: oklch(37.8% 0.148 271.1);
Tailwind
colors: {
  custom: {
    50: '#716cb1',
    500: '#28358f',
    950: '#000000',
  },
}
SCSS
$custom: #28358f;
$custom-light: #716cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#28358f",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 232.427,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.14837,
    "h": 271.1
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#28358F
secondary
#B8AC5B
accent
#CC48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #28358F

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

Preview Lab → · Contrast checker → · Palette generator →

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