#28368C#28368C

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

Color values

HEX#28368C
RGBrgb(40, 54, 140)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 71%, 55%)
CMYKcmyk(71.4%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.68, 24.86, -49.53)
CIE-LCHlch(26.68, 55.42, 296.66°)
OKLaboklab(37.77% 0.0021 -0.1428)
OKLCHoklch(37.77% 0.143 270.8)
XYZxyz(6.9263, 4.9822, 25.4025)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28368C #8C7E28
analogous
#28688C #28368C #4C288C
triadic
#28368C #8C2836 #368C28
tetradic
#28368C #8C2868 #8C7E28 #288C4C
square
#28368C #8C2868 #8C7E28 #288C4C
split-complementary
#28368C #8C4C28 #688C28
monochromatic
#0D112D #1A245C #28368C #3648BC #5E6ED1

Accessibility & contrast

On white

10.52
#28368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#28368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28368C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28368C#FFFFFF#000000##FFFFFF
##28368C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28368c;
/* rgb */ color: rgb(40, 54, 140);
/* oklch */ color: oklch(37.8% 0.143 270.8);
Tailwind
colors: {
  custom: {
    50: '#706cae',
    500: '#28368c',
    950: '#000000',
  },
}
SCSS
$custom: #28368c;
$custom-light: #706cae;
$custom-dark: #000000;
JSON
{
  "hex": "#28368c",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 231.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.14285,
    "h": 270.8
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#28368C
secondary
#B6A95A
accent
#CA49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #28368C

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

Preview Lab → · Contrast checker → · Palette generator →

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