#28348D#28348D

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

Color values

HEX#28348D
RGBrgb(40, 52, 141)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 55%)
CMYKcmyk(71.6%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.24, 26.59, -50.87)
CIE-LCHlch(26.24, 57.40, 297.60°)
OKLaboklab(37.47% 0.0037 -0.1468)
OKLCHoklch(37.47% 0.147 271.4)
XYZxyz(6.9092, 4.8295, 25.7622)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28348D #8D8128
analogous
#28668D #28348D #4E288D
triadic
#28348D #8D2834 #348D28
tetradic
#28348D #8D2866 #8D8128 #288D4E
square
#28348D #8D2866 #8D8128 #288D4E
split-complementary
#28348D #8D4E28 #668D28
monochromatic
#0D112E #1A225D #28348D #3646BD #5E6CD1

Accessibility & contrast

On white

10.68
#28348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28348D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28348D#FFFFFF#000000##FFFFFF
##28348D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28348d;
/* rgb */ color: rgb(40, 52, 141);
/* oklch */ color: oklch(37.5% 0.147 271.4);
Tailwind
colors: {
  custom: {
    50: '#706baf',
    500: '#28348d',
    950: '#000000',
  },
}
SCSS
$custom: #28348d;
$custom-light: #706baf;
$custom-dark: #000000;
JSON
{
  "hex": "#28348d",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 232.871,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37468,
    "c": 0.14684,
    "h": 271.4
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#28348D
secondary
#B7AC5A
accent
#CD49DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #28348D

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

Preview Lab → · Contrast checker → · Palette generator →

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