#28348F#28348F

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

Color values

HEX#28348F
RGBrgb(40, 52, 143)
HSLhsl(233, 56%, 36%)
HSVhsv(233, 72%, 56%)
CMYKcmyk(72%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.42, 27.34, -51.82)
CIE-LCHlch(26.42, 58.59, 297.81°)
OKLaboklab(37.65% 0.0036 -0.1496)
OKLCHoklch(37.65% 0.15 271.4)
XYZxyz(7.0593, 4.8896, 26.5530)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348F #8F8328
analogous
#28678F #28348F #4F288F
triadic
#28348F #8F2834 #348F28
tetradic
#28348F #8F2867 #8F8328 #288F4F
square
#28348F #8F2867 #8F8328 #288F4F
split-complementary
#28348F #8F4F28 #678F28
monochromatic
#0D112F #1B235F #28348F #3545BF #5F6DD2

Accessibility & contrast

On white

10.62
#28348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#28348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28348F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348F#FFFFFF#000000##FFFFFF
##28348F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28348f;
/* rgb */ color: rgb(40, 52, 143);
/* oklch */ color: oklch(37.7% 0.150 271.4);
Tailwind
colors: {
  custom: {
    50: '#716bb1',
    500: '#28348f',
    950: '#000000',
  },
}
SCSS
$custom: #28348f;
$custom-light: #716bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#28348f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 233.01,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.14963,
    "h": 271.4
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#28348F
secondary
#B8AD5B
accent
#CE48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #28348F

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

Preview Lab → · Contrast checker → · Palette generator →

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