#28347A#28347A

#28347A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.119 H 271.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#28347A
RGBrgb(40, 52, 122)
HSLhsl(231, 51%, 32%)
HSVhsv(231, 67%, 48%)
CMYKcmyk(67.2%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.68, 19.40, -41.52)
CIE-LCHlch(24.68, 45.83, 295.04°)
OKLaboklab(35.81% 0.0035 -0.1193)
OKLCHoklch(35.81% 0.119 271.7)
XYZxyz(5.6147, 4.3117, 18.9449)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28347A #7A6E28
analogous
#285D7A #28347A #45287A
triadic
#28347A #7A2834 #347A28
tetradic
#28347A #7A285D #7A6E28 #287A45
square
#28347A #7A285D #7A6E28 #287A45
split-complementary
#28347A #7A4528 #5D7A28
monochromatic
#0A0D1E #19204C #28347A #3748A8 #5566C7

Accessibility & contrast

On white

11.28
#28347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#28347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28347A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28347A#FFFFFF#000000##FFFFFF
##28347A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28347a;
/* rgb */ color: rgb(40, 52, 122);
/* oklch */ color: oklch(35.8% 0.119 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c6ba1',
    500: '#28347a',
    950: '#000000',
  },
}
SCSS
$custom: #28347a;
$custom-light: #6c6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#28347a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 231.22,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.11938,
    "h": 271.7
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#28347A
secondary
#AC9F52
accent
#C64EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #28347A

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

Preview Lab → · Contrast checker → · Palette generator →

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