#28367D#28367D

#28367D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.121 H 270.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#28367D
RGBrgb(40, 54, 125)
HSLhsl(230, 52%, 32%)
HSVhsv(230, 68%, 49%)
CMYKcmyk(68%, 56.8%, 0%, 51%)
CIE-LABlab(25.47, 19.16, -42.13)
CIE-LCHlch(25.47, 46.28, 294.45°)
OKLaboklab(36.48% 0.0017 -0.1211)
OKLCHoklch(36.48% 0.121 270.8)
XYZxyz(5.8947, 4.5696, 19.9694)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367D #7D6F28
analogous
#28607D #28367D #45287D
triadic
#28367D #7D2836 #367D28
tetradic
#28367D #7D2860 #7D6F28 #287D45
square
#28367D #7D2860 #7D6F28 #287D45
split-complementary
#28367D #7D4528 #607D28
monochromatic
#0A0E20 #19224F #28367D #374AAB #5669C9

Accessibility & contrast

On white

10.97
#28367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#28367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28367D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367D#FFFFFF#000000##FFFFFF
##28367D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28367d;
/* rgb */ color: rgb(40, 54, 125);
/* oklch */ color: oklch(36.5% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d6ca3',
    500: '#28367d',
    950: '#000000',
  },
}
SCSS
$custom: #28367d;
$custom-light: #6d6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#28367d",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 230.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.1211,
    "h": 270.8
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#28367D
secondary
#AE9F53
accent
#C44DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #28367D

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

Preview Lab → · Contrast checker → · Palette generator →

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