#28497D#28497D

#28497D is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.096 H 259.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#28497D
RGBrgb(40, 73, 125)
HSLhsl(217, 52%, 32%)
HSVhsv(217, 68%, 49%)
CMYKcmyk(68%, 41.6%, 0%, 51%)
CIE-LABlab(31.11, 6.12, -33.08)
CIE-LCHlch(31.11, 33.65, 280.49°)
OKLaboklab(40.78% -0.018 -0.0942)
OKLCHoklch(40.78% 0.096 259.2)
XYZxyz(6.9580, 6.6962, 20.3239)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28497D #7D5C28
analogous
#28737D #28497D #32287D
triadic
#28497D #7D2849 #497D28
tetradic
#28497D #7D2873 #7D5C28 #287D32
square
#28497D #7D2873 #7D5C28 #287D32
split-complementary
#28497D #7D3228 #737D28
monochromatic
#0A1320 #192E4F #28497D #3764AB #5683C9

Accessibility & contrast

On white

8.98
#28497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28497D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28497D#FFFFFF#000000##FFFFFF
##28497D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28497d;
/* rgb */ color: rgb(40, 73, 125);
/* oklch */ color: oklch(40.8% 0.096 259.2);
Tailwind
colors: {
  custom: {
    50: '#6c7ba3',
    500: '#28497d',
    950: '#000000',
  },
}
SCSS
$custom: #28497d;
$custom-light: #6c7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#28497d",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 216.706,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.09592,
    "h": 259.2
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#28497D
secondary
#AE8B53
accent
#A44DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28497D

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

Preview Lab → · Contrast checker → · Palette generator →

#28497D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva