#28367B#28367B

#28367B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.118 H 270.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#28367B
RGBrgb(40, 54, 123)
HSLhsl(230, 51%, 32%)
HSVhsv(230, 67%, 48%)
CMYKcmyk(67.5%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.32, 18.39, -41.12)
CIE-LCHlch(25.32, 45.04, 294.10°)
OKLaboklab(36.32% 0.0016 -0.1181)
OKLCHoklch(36.32% 0.118 270.8)
XYZxyz(5.7682, 4.5190, 19.3033)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367B #7B6D28
analogous
#285F7B #28367B #44287B
triadic
#28367B #7B2836 #367B28
tetradic
#28367B #7B285F #7B6D28 #287B44
square
#28367B #7B285F #7B6D28 #287B44
split-complementary
#28367B #7B4428 #5F7B28
monochromatic
#0A0D1F #19224D #28367B #374AA9 #5669C8

Accessibility & contrast

On white

11.03
#28367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28367B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367B#FFFFFF#000000##FFFFFF
##28367B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28367b;
/* rgb */ color: rgb(40, 54, 123);
/* oklch */ color: oklch(36.3% 0.118 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c6ca2',
    500: '#28367b',
    950: '#000000',
  },
}
SCSS
$custom: #28367b;
$custom-light: #6c6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#28367b",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 229.88,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.11812,
    "h": 270.8
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#28367B
secondary
#AD9D52
accent
#C34DDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #28367B

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

Preview Lab → · Contrast checker → · Palette generator →

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