#28348C#28348C

#28348C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.145 H 271.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#28348C
RGBrgb(40, 52, 140)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 71%, 55%)
CMYKcmyk(71.4%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.16, 26.21, -50.39)
CIE-LCHlch(26.16, 56.80, 297.48°)
OKLaboklab(37.38% 0.0037 -0.1454)
OKLCHoklch(37.38% 0.145 271.4)
XYZxyz(6.8351, 4.7999, 25.3721)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348C #8C8028
analogous
#28668C #28348C #4E288C
triadic
#28348C #8C2834 #348C28
tetradic
#28348C #8C2866 #8C8028 #288C4E
square
#28348C #8C2866 #8C8028 #288C4E
split-complementary
#28348C #8C4E28 #668C28
monochromatic
#0D112D #1A225C #28348C #3646BC #5E6BD1

Accessibility & contrast

On white

10.71
#28348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#28348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28348C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348C#FFFFFF#000000##FFFFFF
##28348C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28348c;
/* rgb */ color: rgb(40, 52, 140);
/* oklch */ color: oklch(37.4% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#706bae',
    500: '#28348c',
    950: '#000000',
  },
}
SCSS
$custom: #28348c;
$custom-light: #706bae;
$custom-dark: #000000;
JSON
{
  "hex": "#28348c",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 232.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.14544,
    "h": 271.4
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28348C

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

Preview Lab → · Contrast checker → · Palette generator →

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