#28416B#28416B

#28416B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.079 H 260.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#28416B
RGBrgb(40, 65, 107)
HSLhsl(218, 46%, 29%)
HSVhsv(218, 63%, 42%)
CMYKcmyk(62.6%, 39.3%, 0%, 58%)
CIE-LABlab(27.55, 4.70, -27.38)
CIE-LCHlch(27.55, 27.78, 279.75°)
OKLaboklab(37.68% -0.0133 -0.0776)
OKLCHoklch(37.68% 0.079 260.2)
XYZxyz(5.4183, 5.2928, 14.6431)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28416B #6B5228
analogous
#28636B #28416B #31286B
triadic
#28416B #6B2841 #416B28
tetradic
#28416B #6B2863 #6B5228 #286B31
square
#28416B #6B2863 #6B5228 #286B31
split-complementary
#28416B #6B3128 #636B28
monochromatic
#080E16 #17263E #28416B #395C98 #5079BE

Accessibility & contrast

On white

10.20
#28416B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#28416B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28416B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28416B#FFFFFF#000000##FFFFFF
##28416B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#263E6A
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28416b;
/* rgb */ color: rgb(40, 65, 107);
/* oklch */ color: oklch(37.7% 0.079 260.2);
Tailwind
colors: {
  custom: {
    50: '#687595',
    500: '#28416b',
    950: '#000000',
  },
}
SCSS
$custom: #28416b;
$custom-light: #687595;
$custom-dark: #000000;
JSON
{
  "hex": "#28416b",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 107
  },
  "hsl": {
    "h": 217.612,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.07875,
    "h": 260.2
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#28416B
secondary
#9D8151
accent
#A453D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #28416B

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

Preview Lab → · Contrast checker → · Palette generator →

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