#28599F#28599F

#28599F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.125 H 257.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#28599F
RGBrgb(40, 89, 159)
HSLhsl(215, 60%, 39%)
HSVhsv(215, 75%, 62%)
CMYKcmyk(74.8%, 44%, 0%, 37.6%)
CIE-LABlab(38.02, 8.62, -42.79)
CIE-LCHlch(38.02, 43.65, 281.38°)
OKLaboklab(46.81% -0.0266 -0.1224)
OKLCHoklch(46.81% 0.125 257.8)
XYZxyz(10.7032, 10.0979, 34.1792)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28599F #9F6E28
analogous
#28959F #28599F #33289F
triadic
#28599F #9F2859 #599F28
tetradic
#28599F #9F2895 #9F6E28 #289F33
square
#28599F #9F2895 #9F6E28 #289F33
split-complementary
#28599F #9F3328 #959F28
monochromatic
#0F223D #1C3E6E #28599F #3775CD #6897D9

Accessibility & contrast

On white

6.95
#28599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#28599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28599F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28599F#FFFFFF#000000##FFFFFF
##28599F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#20549E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28599f;
/* rgb */ color: rgb(40, 89, 159);
/* oklch */ color: oklch(46.8% 0.125 257.8);
Tailwind
colors: {
  custom: {
    50: '#7287bc',
    500: '#28599f',
    950: '#000000',
  },
}
SCSS
$custom: #28599f;
$custom-light: #7287bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28599f",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 215.294,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.12529,
    "h": 257.8
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#28599F
secondary
#BF9964
accent
#A245E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #28599F

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

Preview Lab → · Contrast checker → · Palette generator →

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