#28357E#28357E

#28357E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.124 H 271.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#28357E
RGBrgb(40, 53, 126)
HSLhsl(231, 52%, 33%)
HSVhsv(231, 68%, 49%)
CMYKcmyk(68.3%, 57.9%, 0%, 50.6%)
CIE-LABlab(25.27, 20.23, -43.09)
CIE-LCHlch(25.27, 47.60, 295.15°)
OKLaboklab(36.35% 0.0027 -0.1239)
OKLCHoklch(36.35% 0.124 271.3)
XYZxyz(5.9128, 4.5031, 20.2922)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28357E #7E7128
analogous
#28607E #28357E #46287E
triadic
#28357E #7E2835 #357E28
tetradic
#28357E #7E2860 #7E7128 #287E46
square
#28357E #7E2860 #7E7128 #287E46
split-complementary
#28357E #7E4628 #607E28
monochromatic
#0B0E21 #192150 #28357E #3749AC #5768CA

Accessibility & contrast

On white

11.05
#28357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#28357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28357E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28357E#FFFFFF#000000##FFFFFF
##28357E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28357e;
/* rgb */ color: rgb(40, 53, 126);
/* oklch */ color: oklch(36.4% 0.124 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d6ca4',
    500: '#28357e',
    950: '#000000',
  },
}
SCSS
$custom: #28357e;
$custom-light: #6d6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#28357e",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 230.93,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.12395,
    "h": 271.3
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#28357E
secondary
#AFA153
accent
#C64DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #28357E

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

Preview Lab → · Contrast checker → · Palette generator →

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