#28367A#28367A

#28367A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.117 H 270.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#28367A
RGBrgb(40, 54, 122)
HSLhsl(230, 51%, 32%)
HSVhsv(230, 67%, 48%)
CMYKcmyk(67.2%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.24, 18.01, -40.61)
CIE-LCHlch(25.24, 44.42, 293.92°)
OKLaboklab(36.24% 0.0015 -0.1166)
OKLCHoklch(36.24% 0.117 270.7)
XYZxyz(5.7059, 4.4941, 18.9753)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367A #7A6C28
analogous
#285F7A #28367A #43287A
triadic
#28367A #7A2836 #367A28
tetradic
#28367A #7A285F #7A6C28 #287A43
square
#28367A #7A285F #7A6C28 #287A43
split-complementary
#28367A #7A4328 #5F7A28
monochromatic
#0A0D1E #19224C #28367A #374AA8 #5569C7

Accessibility & contrast

On white

11.06
#28367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#28367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28367A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367A#FFFFFF#000000##FFFFFF
##28367A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28367a;
/* rgb */ color: rgb(40, 54, 122);
/* oklch */ color: oklch(36.2% 0.117 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c6ca1',
    500: '#28367a',
    950: '#000000',
  },
}
SCSS
$custom: #28367a;
$custom-light: #6c6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#28367a",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 229.756,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.11662,
    "h": 270.7
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#28367A
secondary
#AC9D52
accent
#C24EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #28367A

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

Preview Lab → · Contrast checker → · Palette generator →

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