#28488E#28488E

#28488E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.122 H 263.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#28488E
RGBrgb(40, 72, 142)
HSLhsl(221, 56%, 36%)
HSVhsv(221, 72%, 56%)
CMYKcmyk(71.8%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.89, 13.35, -42.33)
CIE-LCHlch(31.89, 44.38, 287.51°)
OKLaboklab(41.74% -0.0138 -0.1214)
OKLCHoklch(41.74% 0.122 263.5)
XYZxyz(8.0732, 7.0380, 26.5189)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28488E #8E6E28
analogous
#287B8E #28488E #3B288E
triadic
#28488E #8E2848 #488E28
tetradic
#28488E #8E287B #8E6E28 #288E3B
square
#28488E #8E287B #8E6E28 #288E3B
split-complementary
#28488E #8E3B28 #7B8E28
monochromatic
#0D182F #1B305E #28488E #3560BE #5F83D2

Accessibility & contrast

On white

8.72
#28488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#28488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28488E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28488E#FFFFFF#000000##FFFFFF
##28488E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28488e;
/* rgb */ color: rgb(40, 72, 142);
/* oklch */ color: oklch(41.7% 0.122 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f7aaf',
    500: '#28488e',
    950: '#000000',
  },
}
SCSS
$custom: #28488e;
$custom-light: #6f7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#28488e",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 221.176,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.12216,
    "h": 263.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#28488E
secondary
#B79A5B
accent
#B048DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28488E

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

Preview Lab → · Contrast checker → · Palette generator →

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