#28498E#28498E

#28498E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.121 H 263.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#28498E
RGBrgb(40, 73, 142)
HSLhsl(221, 56%, 36%)
HSVhsv(221, 72%, 56%)
CMYKcmyk(71.8%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.19, 12.68, -41.85)
CIE-LCHlch(32.19, 43.73, 286.85°)
OKLaboklab(41.97% -0.0147 -0.12)
OKLCHoklch(41.97% 0.121 263)
XYZxyz(8.1384, 7.1684, 26.5407)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28498E #8E6D28
analogous
#287C8E #28498E #3A288E
triadic
#28498E #8E2849 #498E28
tetradic
#28498E #8E287C #8E6D28 #288E3A
square
#28498E #8E287C #8E6D28 #288E3A
split-complementary
#28498E #8E3A28 #7C8E28
monochromatic
#0D182F #1B305E #28498E #3562BE #5F84D2

Accessibility & contrast

On white

8.63
#28498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28498E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28498E#FFFFFF#000000##FFFFFF
##28498E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28498e;
/* rgb */ color: rgb(40, 73, 142);
/* oklch */ color: oklch(42.0% 0.121 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7baf',
    500: '#28498e',
    950: '#000000',
  },
}
SCSS
$custom: #28498e;
$custom-light: #6f7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#28498e",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 220.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.12087,
    "h": 263
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#28498E
secondary
#B7995B
accent
#AF48DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28498E

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

Preview Lab → · Contrast checker → · Palette generator →

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