#28376A#28376A

#28376A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.091 H 269.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#28376A
RGBrgb(40, 55, 106)
HSLhsl(226, 45%, 29%)
HSVhsv(226, 62%, 42%)
CMYKcmyk(62.3%, 48.1%, 0%, 58.4%)
CIE-LABlab(24.40, 11.22, -31.76)
CIE-LCHlch(24.40, 33.68, 289.47°)
OKLaboklab(35.23% -0.0015 -0.0906)
OKLCHoklch(35.23% 0.091 269.1)
XYZxyz(4.8419, 4.2237, 14.1930)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28376A #6A5B28
analogous
#28586A #28376A #3A286A
triadic
#28376A #6A2837 #376A28
tetradic
#28376A #6A2858 #6A5B28 #286A3A
square
#28376A #6A2858 #6A5B28 #286A3A
split-complementary
#28376A #6A3A28 #586A28
monochromatic
#080C16 #17203E #28376A #394E96 #5068BD

Accessibility & contrast

On white

11.38
#28376A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#28376A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28376A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28376A#FFFFFF#000000##FFFFFF
##28376A1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#163769
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28376a;
/* rgb */ color: rgb(40, 55, 106);
/* oklch */ color: oklch(35.2% 0.091 269.1);
Tailwind
colors: {
  custom: {
    50: '#686d95',
    500: '#28376a',
    950: '#000000',
  },
}
SCSS
$custom: #28376a;
$custom-light: #686d95;
$custom-dark: #000000;
JSON
{
  "hex": "#28376a",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 106
  },
  "hsl": {
    "h": 226.364,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.09058,
    "h": 269.1
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#28376A
secondary
#9D8B51
accent
#B753D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28376A

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

Preview Lab → · Contrast checker → · Palette generator →

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