#28379D#28379D

#28379D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.165 H 270.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#28379D
RGBrgb(40, 55, 157)
HSLhsl(232, 59%, 39%)
HSVhsv(232, 75%, 62%)
CMYKcmyk(74.5%, 65%, 0%, 38.4%)
CIE-LABlab(28.42, 30.57, -57.12)
CIE-LCHlch(28.42, 64.78, 298.15°)
OKLaboklab(39.51% 0.0008 -0.1651)
OKLCHoklch(39.51% 0.165 270.3)
XYZxyz(8.3250, 5.6169, 32.5372)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28379D #9D8E28
analogous
#28719D #28379D #53289D
triadic
#28379D #9D2837 #379D28
tetradic
#28379D #9D2871 #9D8E28 #289D53
square
#28379D #9D2871 #9D8E28 #289D53
split-complementary
#28379D #9D5328 #719D28
monochromatic
#0F153B #1C266C #28379D #3649CC #6776D8

Accessibility & contrast

On white

9.89
#28379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#28379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28379D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28379D#FFFFFF#000000##FFFFFF
##28379D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #28379d;
/* rgb */ color: rgb(40, 55, 157);
/* oklch */ color: oklch(39.5% 0.165 270.3);
Tailwind
colors: {
  custom: {
    50: '#746dbb',
    500: '#28379d',
    950: '#000000',
  },
}
SCSS
$custom: #28379d;
$custom-light: #746dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#28379d",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 232.308,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.16509,
    "h": 270.3
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#28379D
secondary
#BEB362
accent
#CE45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28379D

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

Preview Lab → · Contrast checker → · Palette generator →

#28379D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva