#28498F#28498F

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

Color values

HEX#28498F
RGBrgb(40, 73, 143)
HSLhsl(221, 56%, 36%)
HSVhsv(221, 72%, 56%)
CMYKcmyk(72%, 49%, 0%, 43.9%)
CIE-LABlab(32.25, 13.06, -42.36)
CIE-LCHlch(32.25, 44.33, 287.14°)
OKLaboklab(42.04% -0.0145 -0.1215)
OKLCHoklch(42.04% 0.122 263.2)
XYZxyz(8.2138, 7.1985, 26.9379)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28498F #8F6E28
analogous
#287C8F #28498F #3B288F
triadic
#28498F #8F2849 #498F28
tetradic
#28498F #8F287C #8F6E28 #288F3B
square
#28498F #8F287C #8F6E28 #288F3B
split-complementary
#28498F #8F3B28 #7C8F28
monochromatic
#0D182F #1B315F #28498F #3561BF #5F84D2

Accessibility & contrast

On white

8.61
#28498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#28498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28498F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28498F#FFFFFF#000000##FFFFFF
##28498F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28498f;
/* rgb */ color: rgb(40, 73, 143);
/* oklch */ color: oklch(42.0% 0.122 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f7bb0',
    500: '#28498f',
    950: '#000000',
  },
}
SCSS
$custom: #28498f;
$custom-light: #6f7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#28498f",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 220.777,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.12233,
    "h": 263.2
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#28498F
secondary
#B89A5B
accent
#AF48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28498F

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

Preview Lab → · Contrast checker → · Palette generator →

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