#28348B#28348B

#28348B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.144 H 271.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#28348B
RGBrgb(40, 52, 139)
HSLhsl(233, 55%, 35%)
HSVhsv(233, 71%, 55%)
CMYKcmyk(71.2%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.07, 25.84, -49.91)
CIE-LCHlch(26.07, 56.20, 297.37°)
OKLaboklab(37.29% 0.0037 -0.144)
OKLCHoklch(37.29% 0.144 271.5)
XYZxyz(6.7617, 4.7705, 24.9856)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348B #8B7F28
analogous
#28668B #28348B #4D288B
triadic
#28348B #8B2834 #348B28
tetradic
#28348B #8B2866 #8B7F28 #288B4D
square
#28348B #8B2866 #8B7F28 #288B4D
split-complementary
#28348B #8B4D28 #668B28
monochromatic
#0D102C #1A225B #28348B #3646BB #5D6BD0

Accessibility & contrast

On white

10.75
#28348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#28348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28348B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348B#FFFFFF#000000##FFFFFF
##28348B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28348b;
/* rgb */ color: rgb(40, 52, 139);
/* oklch */ color: oklch(37.3% 0.144 271.5);
Tailwind
colors: {
  custom: {
    50: '#706bae',
    500: '#28348b',
    950: '#000000',
  },
}
SCSS
$custom: #28348b;
$custom-light: #706bae;
$custom-dark: #000000;
JSON
{
  "hex": "#28348b",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 232.727,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.14403,
    "h": 271.5
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#28348B
secondary
#B6AA59
accent
#CD49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #28348B

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

Preview Lab → · Contrast checker → · Palette generator →

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