#28369D#28369D

#28369D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.166 H 270.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#28369D
RGBrgb(40, 54, 157)
HSLhsl(233, 59%, 39%)
HSVhsv(233, 75%, 62%)
CMYKcmyk(74.5%, 65.6%, 0%, 38.4%)
CIE-LABlab(28.18, 31.22, -57.53)
CIE-LCHlch(28.18, 65.45, 298.49°)
OKLaboklab(39.33% 0.0015 -0.1663)
OKLCHoklch(39.33% 0.166 270.5)
XYZxyz(8.2780, 5.5229, 32.5215)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28369D #9D8F28
analogous
#28709D #28369D #54289D
triadic
#28369D #9D2836 #369D28
tetradic
#28369D #9D2870 #9D8F28 #289D54
square
#28369D #9D2870 #9D8F28 #289D54
split-complementary
#28369D #9D5428 #709D28
monochromatic
#0F143B #1C256C #28369D #3648CC #6775D8

Accessibility & contrast

On white

9.98
#28369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#28369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28369D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28369D#FFFFFF#000000##FFFFFF
##28369D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #28369d;
/* rgb */ color: rgb(40, 54, 157);
/* oklch */ color: oklch(39.3% 0.166 270.5);
Tailwind
colors: {
  custom: {
    50: '#746dbb',
    500: '#28369d',
    950: '#000000',
  },
}
SCSS
$custom: #28369d;
$custom-light: #746dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#28369d",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 232.821,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.16631,
    "h": 270.5
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#28369D
secondary
#BEB362
accent
#D045E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28369D

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

Preview Lab → · Contrast checker → · Palette generator →

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