#28348A#28348A

#28348A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.143 H 271.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#28348A
RGBrgb(40, 52, 138)
HSLhsl(233, 55%, 35%)
HSVhsv(233, 71%, 54%)
CMYKcmyk(71%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.98, 25.46, -49.43)
CIE-LCHlch(25.98, 55.60, 297.26°)
OKLaboklab(37.2% 0.0037 -0.1426)
OKLCHoklch(37.2% 0.143 271.5)
XYZxyz(6.6890, 4.7414, 24.6025)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348A #8A7E28
analogous
#28658A #28348A #4D288A
triadic
#28348A #8A2834 #348A28
tetradic
#28348A #8A2865 #8A7E28 #288A4D
square
#28348A #8A2865 #8A7E28 #288A4D
split-complementary
#28348A #8A4D28 #658A28
monochromatic
#0C102B #1A225B #28348A #3646B9 #5D6BD0

Accessibility & contrast

On white

10.78
#28348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28348A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348A#FFFFFF#000000##FFFFFF
##28348A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28348a;
/* rgb */ color: rgb(40, 52, 138);
/* oklch */ color: oklch(37.2% 0.143 271.5);
Tailwind
colors: {
  custom: {
    50: '#706bad',
    500: '#28348a',
    950: '#000000',
  },
}
SCSS
$custom: #28348a;
$custom-light: #706bad;
$custom-dark: #000000;
JSON
{
  "hex": "#28348a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 232.653,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.14262,
    "h": 271.5
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#28348A
secondary
#B5AA59
accent
#CC49DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #28348A

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

Preview Lab → · Contrast checker → · Palette generator →

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