#28368D#28368D

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

Color values

HEX#28368D
RGBrgb(40, 54, 141)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 72%, 55%)
CMYKcmyk(71.6%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.77, 25.24, -50.01)
CIE-LCHlch(26.77, 56.02, 296.78°)
OKLaboklab(37.86% 0.0021 -0.1443)
OKLCHoklch(37.86% 0.144 270.8)
XYZxyz(7.0003, 5.0118, 25.7926)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28368D #8D7F28
analogous
#28688D #28368D #4C288D
triadic
#28368D #8D2836 #368D28
tetradic
#28368D #8D2868 #8D7F28 #288D4C
square
#28368D #8D2868 #8D7F28 #288D4C
split-complementary
#28368D #8D4C28 #688D28
monochromatic
#0D112E #1A245D #28368D #3648BD #5E6ED1

Accessibility & contrast

On white

10.49
#28368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28368D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28368D#FFFFFF#000000##FFFFFF
##28368D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28368d;
/* rgb */ color: rgb(40, 54, 141);
/* oklch */ color: oklch(37.9% 0.144 270.8);
Tailwind
colors: {
  custom: {
    50: '#706caf',
    500: '#28368d',
    950: '#000000',
  },
}
SCSS
$custom: #28368d;
$custom-light: #706caf;
$custom-dark: #000000;
JSON
{
  "hex": "#28368d",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 231.683,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.14427,
    "h": 270.8
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#28368D
secondary
#B7AA5A
accent
#CA49DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #28368D

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

Preview Lab → · Contrast checker → · Palette generator →

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