#28376B#28376B

#28376B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.092 H 269.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#28376B
RGBrgb(40, 55, 107)
HSLhsl(227, 46%, 29%)
HSVhsv(227, 63%, 42%)
CMYKcmyk(62.6%, 48.6%, 0%, 58%)
CIE-LABlab(24.46, 11.60, -32.29)
CIE-LCHlch(24.46, 34.31, 289.76°)
OKLaboklab(35.3% -0.0013 -0.0921)
OKLCHoklch(35.3% 0.092 269.2)
XYZxyz(4.8942, 4.2446, 14.4685)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28376B #6B5C28
analogous
#28596B #28376B #3B286B
triadic
#28376B #6B2837 #376B28
tetradic
#28376B #6B2859 #6B5C28 #286B3B
square
#28376B #6B2859 #6B5C28 #286B3B
split-complementary
#28376B #6B3B28 #596B28
monochromatic
#080B16 #17203E #28376B #394E98 #5068BE

Accessibility & contrast

On white

11.36
#28376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#28376B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28376B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28376B#FFFFFF#000000##FFFFFF
##28376B1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28376b;
/* rgb */ color: rgb(40, 55, 107);
/* oklch */ color: oklch(35.3% 0.092 269.2);
Tailwind
colors: {
  custom: {
    50: '#696d96',
    500: '#28376b',
    950: '#000000',
  },
}
SCSS
$custom: #28376b;
$custom-light: #696d96;
$custom-dark: #000000;
JSON
{
  "hex": "#28376b",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 226.567,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.09215,
    "h": 269.2
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#28376B
secondary
#9D8C51
accent
#B853D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28376B

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

Preview Lab → · Contrast checker → · Palette generator →

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