#28358A#28358A

#28358A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.141 H 271.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#28358A
RGBrgb(40, 53, 138)
HSLhsl(232, 55%, 35%)
HSVhsv(232, 71%, 54%)
CMYKcmyk(71%, 61.6%, 0%, 45.9%)
CIE-LABlab(26.25, 24.79, -49.00)
CIE-LCHlch(26.25, 54.91, 296.83°)
OKLaboklab(37.39% 0.0029 -0.1413)
OKLCHoklch(37.39% 0.141 271.2)
XYZxyz(6.7341, 4.8316, 24.6175)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28358A #8A7D28
analogous
#28668A #28358A #4C288A
triadic
#28358A #8A2835 #358A28
tetradic
#28358A #8A2866 #8A7D28 #288A4C
square
#28358A #8A2866 #8A7D28 #288A4C
split-complementary
#28358A #8A4C28 #668A28
monochromatic
#0C112B #1A235B #28358A #3647B9 #5D6CD0

Accessibility & contrast

On white

10.68
#28358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28358A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28358A#FFFFFF#000000##FFFFFF
##28358A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28358a;
/* rgb */ color: rgb(40, 53, 138);
/* oklch */ color: oklch(37.4% 0.141 271.2);
Tailwind
colors: {
  custom: {
    50: '#706cad',
    500: '#28358a',
    950: '#000000',
  },
}
SCSS
$custom: #28358a;
$custom-light: #706cad;
$custom-dark: #000000;
JSON
{
  "hex": "#28358a",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 232.041,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.14132,
    "h": 271.2
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#28358A
secondary
#B5A959
accent
#CB49DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #28358A

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

Preview Lab → · Contrast checker → · Palette generator →

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