#28498D#28498D

#28498D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.119 H 262.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#28498D
RGBrgb(40, 73, 141)
HSLhsl(220, 56%, 35%)
HSVhsv(220, 72%, 55%)
CMYKcmyk(71.6%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.12, 12.29, -41.35)
CIE-LCHlch(32.12, 43.13, 286.55°)
OKLaboklab(41.9% -0.0149 -0.1185)
OKLCHoklch(41.9% 0.119 262.8)
XYZxyz(8.0636, 7.1385, 26.1470)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28498D #8D6C28
analogous
#287B8D #28498D #39288D
triadic
#28498D #8D2849 #498D28
tetradic
#28498D #8D287B #8D6C28 #288D39
square
#28498D #8D287B #8D6C28 #288D39
split-complementary
#28498D #8D3928 #7B8D28
monochromatic
#0D182E #1A305D #28498D #3662BD #5E84D1

Accessibility & contrast

On white

8.65
#28498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#28498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28498D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28498D#FFFFFF#000000##FFFFFF
##28498D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28498d;
/* rgb */ color: rgb(40, 73, 141);
/* oklch */ color: oklch(41.9% 0.119 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7baf',
    500: '#28498d',
    950: '#000000',
  },
}
SCSS
$custom: #28498d;
$custom-light: #6f7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#28498d",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 220.396,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.11942,
    "h": 262.8
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#28498D
secondary
#B7985A
accent
#AE49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28498D

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

Preview Lab → · Contrast checker → · Palette generator →

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