#28357A#28357A

#28357A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.118 H 271.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#28357A
RGBrgb(40, 53, 122)
HSLhsl(230, 51%, 32%)
HSVhsv(230, 67%, 48%)
CMYKcmyk(67.2%, 56.6%, 0%, 52.2%)
CIE-LABlab(24.96, 18.71, -41.07)
CIE-LCHlch(24.96, 45.13, 294.49°)
OKLaboklab(36.02% 0.0025 -0.118)
OKLCHoklch(36.02% 0.118 271.2)
XYZxyz(5.6598, 4.4020, 18.9600)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28357A #7A6D28
analogous
#285E7A #28357A #44287A
triadic
#28357A #7A2835 #357A28
tetradic
#28357A #7A285E #7A6D28 #287A44
square
#28357A #7A285E #7A6D28 #287A44
split-complementary
#28357A #7A4428 #5E7A28
monochromatic
#0A0D1E #19214C #28357A #3749A8 #5567C7

Accessibility & contrast

On white

11.17
#28357A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#28357A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28357A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28357A#FFFFFF#000000##FFFFFF
##28357A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28357a;
/* rgb */ color: rgb(40, 53, 122);
/* oklch */ color: oklch(36.0% 0.118 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ca1',
    500: '#28357a',
    950: '#000000',
  },
}
SCSS
$custom: #28357a;
$custom-light: #6c6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#28357a",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 122
  },
  "hsl": {
    "h": 230.488,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36023,
    "c": 0.11801,
    "h": 271.2
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#28357A
secondary
#AC9E52
accent
#C44EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #28357A

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

Preview Lab → · Contrast checker → · Palette generator →

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