#28367C#28367C

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

Color values

HEX#28367C
RGBrgb(40, 54, 124)
HSLhsl(230, 51%, 32%)
HSVhsv(230, 68%, 49%)
CMYKcmyk(67.7%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.39, 18.78, -41.62)
CIE-LCHlch(25.39, 45.66, 294.28°)
OKLaboklab(36.4% 0.0017 -0.1196)
OKLCHoklch(36.4% 0.12 270.8)
XYZxyz(5.8311, 4.5442, 19.6347)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367C #7C6E28
analogous
#28607C #28367C #44287C
triadic
#28367C #7C2836 #367C28
tetradic
#28367C #7C2860 #7C6E28 #287C44
square
#28367C #7C2860 #7C6E28 #287C44
split-complementary
#28367C #7C4428 #607C28
monochromatic
#0A0E1F #19224E #28367C #374AAA #5669C8

Accessibility & contrast

On white

11.00
#28367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28367C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367C#FFFFFF#000000##FFFFFF
##28367C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28367c;
/* rgb */ color: rgb(40, 54, 124);
/* oklch */ color: oklch(36.4% 0.120 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c6ca2',
    500: '#28367c',
    950: '#000000',
  },
}
SCSS
$custom: #28367c;
$custom-light: #6c6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#28367c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 230,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36399,
    "c": 0.11961,
    "h": 270.8
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#28367C
secondary
#AD9E52
accent
#C34DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #28367C

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

Preview Lab → · Contrast checker → · Palette generator →

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