#28368A#28368A

#28368A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.140 H 270.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#28368A
RGBrgb(40, 54, 138)
HSLhsl(231, 55%, 35%)
HSVhsv(231, 71%, 54%)
CMYKcmyk(71%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.52, 24.10, -48.56)
CIE-LCHlch(26.52, 54.21, 296.40°)
OKLaboklab(37.59% 0.0021 -0.14)
OKLCHoklch(37.59% 0.14 270.8)
XYZxyz(6.7801, 4.9238, 24.6329)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28368A #8A7C28
analogous
#28678A #28368A #4B288A
triadic
#28368A #8A2836 #368A28
tetradic
#28368A #8A2867 #8A7C28 #288A4B
square
#28368A #8A2867 #8A7C28 #288A4B
split-complementary
#28368A #8A4B28 #678A28
monochromatic
#0C112B #1A235B #28368A #3649B9 #5D6DD0

Accessibility & contrast

On white

10.58
#28368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#28368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28368A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28368A#FFFFFF#000000##FFFFFF
##28368A1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28368a;
/* rgb */ color: rgb(40, 54, 138);
/* oklch */ color: oklch(37.6% 0.140 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f6cad',
    500: '#28368a',
    950: '#000000',
  },
}
SCSS
$custom: #28368a;
$custom-light: #6f6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#28368a",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 231.429,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.14002,
    "h": 270.8
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#28368A
secondary
#B5A859
accent
#C949DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #28368A

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

Preview Lab → · Contrast checker → · Palette generator →

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