#28468E#28468E

#28468E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.125 H 264.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#28468E
RGBrgb(40, 70, 142)
HSLhsl(222, 56%, 36%)
HSVhsv(222, 72%, 56%)
CMYKcmyk(71.8%, 50.7%, 0%, 44.3%)
CIE-LABlab(31.31, 14.71, -43.27)
CIE-LCHlch(31.31, 45.70, 288.78°)
OKLaboklab(41.3% -0.0119 -0.1242)
OKLCHoklch(41.3% 0.125 264.5)
XYZxyz(7.9460, 6.7836, 26.4765)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28468E #8E7028
analogous
#28798E #28468E #3D288E
triadic
#28468E #8E2846 #468E28
tetradic
#28468E #8E2879 #8E7028 #288E3D
square
#28468E #8E2879 #8E7028 #288E3D
split-complementary
#28468E #8E3D28 #798E28
monochromatic
#0D172F #1B2E5E #28468E #355EBE #5F80D2

Accessibility & contrast

On white

8.91
#28468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28468E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28468E#FFFFFF#000000##FFFFFF
##28468E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28468e;
/* rgb */ color: rgb(40, 70, 142);
/* oklch */ color: oklch(41.3% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f79b0',
    500: '#28468e',
    950: '#000000',
  },
}
SCSS
$custom: #28468e;
$custom-light: #6f79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28468e",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 222.353,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.12475,
    "h": 264.5
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#28468E
secondary
#B79C5B
accent
#B348DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28468E

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

Preview Lab → · Contrast checker → · Palette generator →

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