#28448E#28448E

#28448E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.127 H 265.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#28448E
RGBrgb(40, 68, 142)
HSLhsl(224, 56%, 36%)
HSVhsv(224, 72%, 56%)
CMYKcmyk(71.8%, 52.1%, 0%, 44.3%)
CIE-LABlab(30.73, 16.07, -44.20)
CIE-LCHlch(30.73, 47.03, 289.98°)
OKLaboklab(40.86% -0.01 -0.127)
OKLCHoklch(40.86% 0.127 265.5)
XYZxyz(7.8230, 6.5376, 26.4355)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28448E #8E7228
analogous
#28778E #28448E #3F288E
triadic
#28448E #8E2844 #448E28
tetradic
#28448E #8E2877 #8E7228 #288E3F
square
#28448E #8E2877 #8E7228 #288E3F
split-complementary
#28448E #8E3F28 #778E28
monochromatic
#0D162F #1B2D5E #28448E #355BBE #5F7ED2

Accessibility & contrast

On white

9.10
#28448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28448E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28448E#FFFFFF#000000##FFFFFF
##28448E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28448e;
/* rgb */ color: rgb(40, 68, 142);
/* oklch */ color: oklch(40.9% 0.127 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f77b0',
    500: '#28448e',
    950: '#000000',
  },
}
SCSS
$custom: #28448e;
$custom-light: #6f77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28448e",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 223.529,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.12736,
    "h": 265.5
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#28448E
secondary
#B79E5B
accent
#B648DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28448E

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

Preview Lab → · Contrast checker → · Palette generator →

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