#28367F#28367F

#28367F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.124 H 270.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#28367F
RGBrgb(40, 54, 127)
HSLhsl(230, 52%, 33%)
HSVhsv(230, 69%, 50%)
CMYKcmyk(68.5%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.63, 19.92, -43.14)
CIE-LCHlch(25.63, 47.51, 294.79°)
OKLaboklab(36.65% 0.0018 -0.124)
OKLCHoklch(36.65% 0.124 270.8)
XYZxyz(6.0237, 4.6212, 20.6491)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367F #7F7128
analogous
#28617F #28367F #45287F
triadic
#28367F #7F2836 #367F28
tetradic
#28367F #7F2861 #7F7128 #287F45
square
#28367F #7F2861 #7F7128 #287F45
split-complementary
#28367F #7F4528 #617F28
monochromatic
#0B0E22 #192250 #28367F #374AAE #576ACA

Accessibility & contrast

On white

10.91
#28367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#28367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28367F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367F#FFFFFF#000000##FFFFFF
##28367F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28367f;
/* rgb */ color: rgb(40, 54, 127);
/* oklch */ color: oklch(36.6% 0.124 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d6ca5',
    500: '#28367f',
    950: '#000000',
  },
}
SCSS
$custom: #28367f;
$custom-light: #6d6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#28367f",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 230.345,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36648,
    "c": 0.12406,
    "h": 270.8
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#28367F
secondary
#AFA054
accent
#C44CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #28367F

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

Preview Lab → · Contrast checker → · Palette generator →

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