#28497C#28497C

#28497C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.094 H 258.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#28497C
RGBrgb(40, 73, 124)
HSLhsl(216, 51%, 32%)
HSVhsv(216, 68%, 49%)
CMYKcmyk(67.7%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.05, 5.74, -32.56)
CIE-LCHlch(31.05, 33.06, 280.00°)
OKLaboklab(40.72% -0.0183 -0.0927)
OKLCHoklch(40.72% 0.094 258.8)
XYZxyz(6.8944, 6.6708, 19.9891)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28497C #7C5B28
analogous
#28737C #28497C #31287C
triadic
#28497C #7C2849 #497C28
tetradic
#28497C #7C2873 #7C5B28 #287C31
square
#28497C #7C2873 #7C5B28 #287C31
split-complementary
#28497C #7C3128 #737C28
monochromatic
#0A131F #192E4E #28497C #3764AA #5683C8

Accessibility & contrast

On white

9.00
#28497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#28497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28497C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28497C#FFFFFF#000000##FFFFFF
##28497C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28497c;
/* rgb */ color: rgb(40, 73, 124);
/* oklch */ color: oklch(40.7% 0.094 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7ba2',
    500: '#28497c',
    950: '#000000',
  },
}
SCSS
$custom: #28497c;
$custom-light: #6b7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#28497c",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 216.429,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.09445,
    "h": 258.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#28497C
secondary
#AD8A52
accent
#A34DDB
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28497C

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

Preview Lab → · Contrast checker → · Palette generator →

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