#28497B#28497B

#28497B is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.093 H 258.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#28497B
RGBrgb(40, 73, 123)
HSLhsl(216, 51%, 32%)
HSVhsv(216, 67%, 48%)
CMYKcmyk(67.5%, 40.7%, 0%, 51.8%)
CIE-LABlab(30.99, 5.36, -32.03)
CIE-LCHlch(30.99, 32.47, 279.50°)
OKLaboklab(40.65% -0.0185 -0.0911)
OKLCHoklch(40.65% 0.093 258.5)
XYZxyz(6.8315, 6.6456, 19.6578)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28497B #7B5A28
analogous
#28737B #28497B #31287B
triadic
#28497B #7B2849 #497B28
tetradic
#28497B #7B2873 #7B5A28 #287B31
square
#28497B #7B2873 #7B5A28 #287B31
split-complementary
#28497B #7B3128 #737B28
monochromatic
#0A121F #192E4D #28497B #3764A9 #5683C8

Accessibility & contrast

On white

9.02
#28497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28497B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28497B#FFFFFF#000000##FFFFFF
##28497B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28497b;
/* rgb */ color: rgb(40, 73, 123);
/* oklch */ color: oklch(40.7% 0.093 258.5);
Tailwind
colors: {
  custom: {
    50: '#6b7ba1',
    500: '#28497b',
    950: '#000000',
  },
}
SCSS
$custom: #28497b;
$custom-light: #6b7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#28497b",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 216.145,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.09298,
    "h": 258.5
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#28497B
secondary
#AD8952
accent
#A24DDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #28497B

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

Preview Lab → · Contrast checker → · Palette generator →

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