#28467F#28467F

#28467F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.103 H 261.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#28467F
RGBrgb(40, 70, 127)
HSLhsl(219, 52%, 33%)
HSVhsv(219, 69%, 50%)
CMYKcmyk(68.5%, 44.9%, 0%, 50.2%)
CIE-LABlab(30.31, 8.91, -35.60)
CIE-LCHlch(30.31, 36.69, 284.05°)
OKLaboklab(40.21% -0.0144 -0.1016)
OKLCHoklch(40.21% 0.103 261.9)
XYZxyz(6.8946, 6.3631, 20.9394)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28467F #7F6128
analogous
#28727F #28467F #35287F
triadic
#28467F #7F2846 #467F28
tetradic
#28467F #7F2872 #7F6128 #287F35
square
#28467F #7F2872 #7F6128 #287F35
split-complementary
#28467F #7F3528 #727F28
monochromatic
#0B1322 #192C50 #28467F #3760AE #577FCA

Accessibility & contrast

On white

9.24
#28467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#28467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28467F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28467F#FFFFFF#000000##FFFFFF
##28467F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28467f;
/* rgb */ color: rgb(40, 70, 127);
/* oklch */ color: oklch(40.2% 0.103 261.9);
Tailwind
colors: {
  custom: {
    50: '#6c79a4',
    500: '#28467f',
    950: '#000000',
  },
}
SCSS
$custom: #28467f;
$custom-light: #6c79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28467f",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 219.31,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.10264,
    "h": 261.9
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#28467F
secondary
#AF9054
accent
#AA4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28467F

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

Preview Lab → · Contrast checker → · Palette generator →

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