#28427D#28427D

#28427D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.105 H 264.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#28427D
RGBrgb(40, 66, 125)
HSLhsl(222, 52%, 32%)
HSVhsv(222, 68%, 49%)
CMYKcmyk(68%, 47.2%, 0%, 51%)
CIE-LABlab(28.97, 10.87, -36.49)
CIE-LCHlch(28.97, 38.07, 286.59°)
OKLaboklab(39.14% -0.0105 -0.1043)
OKLCHoklch(39.14% 0.105 264.2)
XYZxyz(6.5237, 5.8276, 20.1791)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28427D #7D6328
analogous
#286D7D #28427D #39287D
triadic
#28427D #7D2842 #427D28
tetradic
#28427D #7D286D #7D6328 #287D39
square
#28427D #7D286D #7D6328 #287D39
split-complementary
#28427D #7D3928 #6D7D28
monochromatic
#0A1120 #192A4F #28427D #375AAB #5679C9

Accessibility & contrast

On white

9.70
#28427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#28427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28427D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28427D#FFFFFF#000000##FFFFFF
##28427D1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #28427d;
/* rgb */ color: rgb(40, 66, 125);
/* oklch */ color: oklch(39.1% 0.105 264.2);
Tailwind
colors: {
  custom: {
    50: '#6c75a3',
    500: '#28427d',
    950: '#000000',
  },
}
SCSS
$custom: #28427d;
$custom-light: #6c75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28427d",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 221.647,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.10484,
    "h": 264.2
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#28427D
secondary
#AE9253
accent
#AF4DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #28427D

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

Preview Lab → · Contrast checker → · Palette generator →

#28427D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva