#28437A#28437A

#28437A is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.099 H 262.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#28437A
RGBrgb(40, 67, 122)
HSLhsl(220, 51%, 32%)
HSVhsv(220, 67%, 48%)
CMYKcmyk(67.2%, 45.1%, 0%, 52.2%)
CIE-LABlab(29.08, 9.03, -34.43)
CIE-LCHlch(29.08, 35.60, 284.69°)
OKLaboklab(39.16% -0.0122 -0.0983)
OKLCHoklch(39.16% 0.099 262.9)
XYZxyz(6.3938, 5.8700, 19.2046)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28437A #7A5F28
analogous
#286C7A #28437A #36287A
triadic
#28437A #7A2843 #437A28
tetradic
#28437A #7A286C #7A5F28 #287A36
square
#28437A #7A286C #7A5F28 #287A36
split-complementary
#28437A #7A3628 #6C7A28
monochromatic
#0A101E #192A4C #28437A #375CA8 #557BC7

Accessibility & contrast

On white

9.66
#28437A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#28437A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28437A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28437A#FFFFFF#000000##FFFFFF
##28437A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#1C4179
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #28437a;
/* rgb */ color: rgb(40, 67, 122);
/* oklch */ color: oklch(39.2% 0.099 262.9);
Tailwind
colors: {
  custom: {
    50: '#6b76a1',
    500: '#28437a',
    950: '#000000',
  },
}
SCSS
$custom: #28437a;
$custom-light: #6b76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28437a",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 122
  },
  "hsl": {
    "h": 220.244,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.09901,
    "h": 262.9
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#28437A
secondary
#AC8E52
accent
#AC4EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #28437A

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

Preview Lab → · Contrast checker → · Palette generator →

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