#28468F#28468F

#28468F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.126 H 264.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#28468F
RGBrgb(40, 70, 143)
HSLhsl(223, 56%, 36%)
HSVhsv(223, 72%, 56%)
CMYKcmyk(72%, 51%, 0%, 43.9%)
CIE-LABlab(31.38, 15.10, -43.77)
CIE-LCHlch(31.38, 46.30, 289.03°)
OKLaboklab(41.37% -0.0117 -0.1257)
OKLCHoklch(41.37% 0.126 264.7)
XYZxyz(8.0214, 6.8138, 26.8737)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28468F #8F7128
analogous
#28798F #28468F #3D288F
triadic
#28468F #8F2846 #468F28
tetradic
#28468F #8F2879 #8F7128 #288F3D
square
#28468F #8F2879 #8F7128 #288F3D
split-complementary
#28468F #8F3D28 #798F28
monochromatic
#0D172F #1B2F5F #28468F #355DBF #5F81D2

Accessibility & contrast

On white

8.89
#28468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#28468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28468F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28468F#FFFFFF#000000##FFFFFF
##28468F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28468f;
/* rgb */ color: rgb(40, 70, 143);
/* oklch */ color: oklch(41.4% 0.126 264.7);
Tailwind
colors: {
  custom: {
    50: '#7079b0',
    500: '#28468f',
    950: '#000000',
  },
}
SCSS
$custom: #28468f;
$custom-light: #7079b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28468f",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 222.524,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.12621,
    "h": 264.7
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#28468F
secondary
#B89D5B
accent
#B348E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28468F

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

Preview Lab → · Contrast checker → · Palette generator →

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