#28368B#28368B

#28368B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.141 H 270.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#28368B
RGBrgb(40, 54, 139)
HSLhsl(232, 55%, 35%)
HSVhsv(232, 71%, 55%)
CMYKcmyk(71.2%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.60, 24.48, -49.05)
CIE-LCHlch(26.60, 54.82, 296.53°)
OKLaboklab(37.68% 0.0021 -0.1414)
OKLCHoklch(37.68% 0.141 270.8)
XYZxyz(6.8529, 4.9529, 25.0159)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28368B #8B7D28
analogous
#28688B #28368B #4B288B
triadic
#28368B #8B2836 #368B28
tetradic
#28368B #8B2868 #8B7D28 #288B4B
square
#28368B #8B2868 #8B7D28 #288B4B
split-complementary
#28368B #8B4B28 #688B28
monochromatic
#0D112C #1A245B #28368B #3648BB #5D6DD0

Accessibility & contrast

On white

10.55
#28368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#28368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28368B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28368B#FFFFFF#000000##FFFFFF
##28368B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28368b;
/* rgb */ color: rgb(40, 54, 139);
/* oklch */ color: oklch(37.7% 0.141 270.8);
Tailwind
colors: {
  custom: {
    50: '#706cae',
    500: '#28368b',
    950: '#000000',
  },
}
SCSS
$custom: #28368b;
$custom-light: #706cae;
$custom-dark: #000000;
JSON
{
  "hex": "#28368b",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 231.515,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.14145,
    "h": 270.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#28368B
secondary
#B6A959
accent
#C949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #28368B

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

Preview Lab → · Contrast checker → · Palette generator →

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