#28438B#28438B

#28438B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.124 H 265.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#28438B
RGBrgb(40, 67, 139)
HSLhsl(224, 55%, 35%)
HSVhsv(224, 71%, 55%)
CMYKcmyk(71.2%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.23, 15.59, -43.17)
CIE-LCHlch(30.23, 45.90, 289.86°)
OKLaboklab(40.41% -0.0094 -0.1239)
OKLCHoklch(40.41% 0.124 265.6)
XYZxyz(7.5408, 6.3287, 25.2453)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28438B #8B7028
analogous
#28758B #28438B #3E288B
triadic
#28438B #8B2843 #438B28
tetradic
#28438B #8B2875 #8B7028 #288B3E
square
#28438B #8B2875 #8B7028 #288B3E
split-complementary
#28438B #8B3E28 #758B28
monochromatic
#0D152C #1A2C5B #28438B #365ABB #5D7CD0

Accessibility & contrast

On white

9.27
#28438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28438B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28438B#FFFFFF#000000##FFFFFF
##28438B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28438b;
/* rgb */ color: rgb(40, 67, 139);
/* oklch */ color: oklch(40.4% 0.124 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f76ad',
    500: '#28438b',
    950: '#000000',
  },
}
SCSS
$custom: #28438b;
$custom-light: #6f76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28438b",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 223.636,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.1243,
    "h": 265.6
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28438B

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

Preview Lab → · Contrast checker → · Palette generator →

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