#28359F#28359F

#28359F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.170 H 270.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#28359F
RGBrgb(40, 53, 159)
HSLhsl(233, 60%, 39%)
HSVhsv(233, 75%, 62%)
CMYKcmyk(74.8%, 66.7%, 0%, 37.6%)
CIE-LABlab(28.11, 32.61, -58.84)
CIE-LCHlch(28.11, 67.27, 298.99°)
OKLaboklab(39.34% 0.002 -0.1702)
OKLCHoklch(39.34% 0.17 270.7)
XYZxyz(8.4041, 5.4996, 33.4128)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28359F #9F9228
analogous
#28719F #28359F #57289F
triadic
#28359F #9F2835 #359F28
tetradic
#28359F #9F2871 #9F9228 #289F57
square
#28359F #9F2871 #9F9228 #289F57
split-complementary
#28359F #9F5728 #719F28
monochromatic
#0F143D #1C256E #28359F #3748CD #6875D9

Accessibility & contrast

On white

10.00
#28359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#28359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28359F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28359F#FFFFFF#000000##FFFFFF
##28359F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #28359f;
/* rgb */ color: rgb(40, 53, 159);
/* oklch */ color: oklch(39.3% 0.170 270.7);
Tailwind
colors: {
  custom: {
    50: '#756cbc',
    500: '#28359f',
    950: '#000000',
  },
}
SCSS
$custom: #28359f;
$custom-light: #756cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28359f",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 233.445,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.17017,
    "h": 270.7
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#28359F
secondary
#BFB564
accent
#D245E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #28359F

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

Preview Lab → · Contrast checker → · Palette generator →

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