#28357C#28357C

#28357C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.121 H 271.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#28357C
RGBrgb(40, 53, 124)
HSLhsl(231, 51%, 32%)
HSVhsv(231, 68%, 49%)
CMYKcmyk(67.7%, 57.3%, 0%, 51.4%)
CIE-LABlab(25.11, 19.47, -42.08)
CIE-LCHlch(25.11, 46.37, 294.83°)
OKLaboklab(36.19% 0.0026 -0.121)
OKLCHoklch(36.19% 0.121 271.2)
XYZxyz(5.7850, 4.4520, 19.6193)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28357C #7C6F28
analogous
#285F7C #28357C #45287C
triadic
#28357C #7C2835 #357C28
tetradic
#28357C #7C285F #7C6F28 #287C45
square
#28357C #7C285F #7C6F28 #287C45
split-complementary
#28357C #7C4528 #5F7C28
monochromatic
#0A0D1F #19214E #28357C #3749AA #5668C8

Accessibility & contrast

On white

11.11
#28357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#28357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28357C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28357C#FFFFFF#000000##FFFFFF
##28357C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28357c;
/* rgb */ color: rgb(40, 53, 124);
/* oklch */ color: oklch(36.2% 0.121 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ca2',
    500: '#28357c',
    950: '#000000',
  },
}
SCSS
$custom: #28357c;
$custom-light: #6c6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#28357c",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 230.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.12099,
    "h": 271.2
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#28357C
secondary
#AD9F52
accent
#C54DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #28357C

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

Preview Lab → · Contrast checker → · Palette generator →

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