#28497A#28497A

#28497A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.092 H 258.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#28497A
RGBrgb(40, 73, 122)
HSLhsl(216, 51%, 32%)
HSVhsv(216, 67%, 48%)
CMYKcmyk(67.2%, 40.2%, 0%, 52.2%)
CIE-LABlab(30.93, 4.98, -31.50)
CIE-LCHlch(30.93, 31.89, 278.99°)
OKLaboklab(40.59% -0.0188 -0.0896)
OKLCHoklch(40.59% 0.092 258.2)
XYZxyz(6.7692, 6.6207, 19.3298)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28497A #7A5928
analogous
#28727A #28497A #30287A
triadic
#28497A #7A2849 #497A28
tetradic
#28497A #7A2872 #7A5928 #287A30
square
#28497A #7A2872 #7A5928 #287A30
split-complementary
#28497A #7A3028 #727A28
monochromatic
#0A121E #192D4C #28497A #3765A8 #5583C7

Accessibility & contrast

On white

9.04
#28497A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#28497A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28497A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28497A#FFFFFF#000000##FFFFFF
##28497A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28497a;
/* rgb */ color: rgb(40, 73, 122);
/* oklch */ color: oklch(40.6% 0.092 258.2);
Tailwind
colors: {
  custom: {
    50: '#6b7ba1',
    500: '#28497a',
    950: '#000000',
  },
}
SCSS
$custom: #28497a;
$custom-light: #6b7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#28497a",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 215.854,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.09151,
    "h": 258.2
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#28497A
secondary
#AC8852
accent
#A24EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #28497A

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

Preview Lab → · Contrast checker → · Palette generator →

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