#28438C#28438C

#28438C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.126 H 265.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#28438C
RGBrgb(40, 67, 140)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 71%, 55%)
CMYKcmyk(71.4%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.30, 15.98, -43.67)
CIE-LCHlch(30.30, 46.50, 290.10°)
OKLaboklab(40.48% -0.0093 -0.1254)
OKLCHoklch(40.48% 0.126 265.7)
XYZxyz(7.6142, 6.3581, 25.6318)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28438C #8C7128
analogous
#28758C #28438C #3F288C
triadic
#28438C #8C2843 #438C28
tetradic
#28438C #8C2875 #8C7128 #288C3F
square
#28438C #8C2875 #8C7128 #288C3F
split-complementary
#28438C #8C3F28 #758C28
monochromatic
#0D152D #1A2C5C #28438C #365ABC #5E7DD1

Accessibility & contrast

On white

9.24
#28438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#28438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28438C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28438C#FFFFFF#000000##FFFFFF
##28438C1.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)
#174C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28438c;
/* rgb */ color: rgb(40, 67, 140);
/* oklch */ color: oklch(40.5% 0.126 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f76ae',
    500: '#28438c',
    950: '#000000',
  },
}
SCSS
$custom: #28438c;
$custom-light: #6f76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#28438c",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 223.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.12576,
    "h": 265.7
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#28438C
secondary
#B69D5A
accent
#B649DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28438C

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

Preview Lab → · Contrast checker → · Palette generator →

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