#28498B#28498B

#28498B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.117 H 262.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#28498B
RGBrgb(40, 73, 139)
HSLhsl(220, 55%, 35%)
HSVhsv(220, 71%, 55%)
CMYKcmyk(71.2%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.99, 11.51, -40.33)
CIE-LCHlch(31.99, 41.94, 285.93°)
OKLaboklab(41.75% -0.0152 -0.1155)
OKLCHoklch(41.75% 0.117 262.5)
XYZxyz(7.9162, 7.0795, 25.3704)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28498B #8B6A28
analogous
#287A8B #28498B #39288B
triadic
#28498B #8B2849 #498B28
tetradic
#28498B #8B287A #8B6A28 #288B39
square
#28498B #8B287A #8B6A28 #288B39
split-complementary
#28498B #8B3928 #7A8B28
monochromatic
#0D172C #1A305B #28498B #3662BB #5D83D0

Accessibility & contrast

On white

8.69
#28498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#28498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28498B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28498B#FFFFFF#000000##FFFFFF
##28498B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#13478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28498b;
/* rgb */ color: rgb(40, 73, 139);
/* oklch */ color: oklch(41.8% 0.117 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f7bad',
    500: '#28498b',
    950: '#000000',
  },
}
SCSS
$custom: #28498b;
$custom-light: #6f7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#28498b",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 220,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.1165,
    "h": 262.5
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#28498B
secondary
#B69759
accent
#AD49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28498B

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

Preview Lab → · Contrast checker → · Palette generator →

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