#28438E#28438E

#28438E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.129 H 265.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#28438E
RGBrgb(40, 67, 142)
HSLhsl(224, 56%, 36%)
HSVhsv(224, 72%, 56%)
CMYKcmyk(71.8%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.44, 16.75, -44.66)
CIE-LCHlch(30.44, 47.70, 290.56°)
OKLaboklab(40.64% -0.0091 -0.1283)
OKLCHoklch(40.64% 0.129 265.9)
XYZxyz(7.7630, 6.4176, 26.4155)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28438E #8E7328
analogous
#28768E #28438E #40288E
triadic
#28438E #8E2843 #438E28
tetradic
#28438E #8E2876 #8E7328 #288E40
square
#28438E #8E2876 #8E7328 #288E40
split-complementary
#28438E #8E4028 #768E28
monochromatic
#0D162F #1B2C5E #28438E #355ABE #5F7DD2

Accessibility & contrast

On white

9.20
#28438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#28438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28438E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28438E#FFFFFF#000000##FFFFFF
##28438E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28438e;
/* rgb */ color: rgb(40, 67, 142);
/* oklch */ color: oklch(40.6% 0.129 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f76b0',
    500: '#28438e',
    950: '#000000',
  },
}
SCSS
$custom: #28438e;
$custom-light: #6f76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28438e",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 224.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40638,
    "c": 0.12867,
    "h": 265.9
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#28438E
secondary
#B79F5B
accent
#B748DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28438E

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

Preview Lab → · Contrast checker → · Palette generator →

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