#28348E#28348E

#28348E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.148 H 271.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#28348E
RGBrgb(40, 52, 142)
HSLhsl(233, 56%, 36%)
HSVhsv(233, 72%, 56%)
CMYKcmyk(71.8%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.33, 26.96, -51.34)
CIE-LCHlch(26.33, 57.99, 297.71°)
OKLaboklab(37.56% 0.0036 -0.1482)
OKLCHoklch(37.56% 0.148 271.4)
XYZxyz(6.9839, 4.8594, 26.1558)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348E #8E8228
analogous
#28678E #28348E #4F288E
triadic
#28348E #8E2834 #348E28
tetradic
#28348E #8E2867 #8E8228 #288E4F
square
#28348E #8E2867 #8E8228 #288E4F
split-complementary
#28348E #8E4F28 #678E28
monochromatic
#0D112F #1B235E #28348E #3545BE #5F6CD2

Accessibility & contrast

On white

10.65
#28348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#28348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28348E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348E#FFFFFF#000000##FFFFFF
##28348E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28348e;
/* rgb */ color: rgb(40, 52, 142);
/* oklch */ color: oklch(37.6% 0.148 271.4);
Tailwind
colors: {
  custom: {
    50: '#716bb0',
    500: '#28348e',
    950: '#000000',
  },
}
SCSS
$custom: #28348e;
$custom-light: #716bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#28348e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 232.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.14823,
    "h": 271.4
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#28348E
secondary
#B7AC5B
accent
#CE48DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #28348E

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

Preview Lab → · Contrast checker → · Palette generator →

#28348E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva