#28347E#28347E

#28347E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.125 H 271.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#28347E
RGBrgb(40, 52, 126)
HSLhsl(232, 52%, 33%)
HSVhsv(232, 68%, 49%)
CMYKcmyk(68.3%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.99, 20.92, -43.54)
CIE-LCHlch(24.99, 48.30, 295.67°)
OKLaboklab(36.15% 0.0037 -0.1253)
OKLCHoklch(36.15% 0.125 271.7)
XYZxyz(5.8677, 4.4129, 20.2772)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28347E #7E7228
analogous
#285F7E #28347E #47287E
triadic
#28347E #7E2834 #347E28
tetradic
#28347E #7E285F #7E7228 #287E47
square
#28347E #7E285F #7E7228 #287E47
split-complementary
#28347E #7E4728 #5F7E28
monochromatic
#0B0E21 #192150 #28347E #3747AC #5767CA

Accessibility & contrast

On white

11.15
#28347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#28347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28347E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28347E#FFFFFF#000000##FFFFFF
##28347E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28347e;
/* rgb */ color: rgb(40, 52, 126);
/* oklch */ color: oklch(36.1% 0.125 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d6ba4',
    500: '#28347e',
    950: '#000000',
  },
}
SCSS
$custom: #28347e;
$custom-light: #6d6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#28347e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 231.628,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36147,
    "c": 0.12531,
    "h": 271.7
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#28347E
secondary
#AFA253
accent
#C74DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #28347E

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

Preview Lab → · Contrast checker → · Palette generator →

#28347E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva