#28467E#28467E

#28467E is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.101 H 261.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#28467E
RGBrgb(40, 70, 126)
HSLhsl(219, 52%, 33%)
HSVhsv(219, 68%, 49%)
CMYKcmyk(68.3%, 44.4%, 0%, 50.6%)
CIE-LABlab(30.25, 8.53, -35.07)
CIE-LCHlch(30.25, 36.10, 283.67°)
OKLaboklab(40.14% -0.0146 -0.1001)
OKLCHoklch(40.14% 0.101 261.7)
XYZxyz(6.8298, 6.3371, 20.5979)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28467E #7E6028
analogous
#28717E #28467E #35287E
triadic
#28467E #7E2846 #467E28
tetradic
#28467E #7E2871 #7E6028 #287E35
square
#28467E #7E2871 #7E6028 #287E35
split-complementary
#28467E #7E3528 #717E28
monochromatic
#0B1221 #192C50 #28467E #3760AC #577FCA

Accessibility & contrast

On white

9.26
#28467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28467E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28467E#FFFFFF#000000##FFFFFF
##28467E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28467e;
/* rgb */ color: rgb(40, 70, 126);
/* oklch */ color: oklch(40.1% 0.101 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c79a4',
    500: '#28467e',
    950: '#000000',
  },
}
SCSS
$custom: #28467e;
$custom-light: #6c79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28467e",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 219.07,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.10116,
    "h": 261.7
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#28467E
secondary
#AF8F53
accent
#A94DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28467E

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

Preview Lab → · Contrast checker → · Palette generator →

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