#28385F#28385F

#28385F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.072 H 265.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#28385F
RGBrgb(40, 56, 95)
HSLhsl(223, 41%, 26%)
HSVhsv(223, 58%, 37%)
CMYKcmyk(57.9%, 41.1%, 0%, 62.7%)
CIE-LABlab(24.02, 6.42, -25.23)
CIE-LCHlch(24.02, 26.04, 284.27°)
OKLaboklab(34.72% -0.0051 -0.0714)
OKLCHoklch(34.72% 0.072 265.9)
XYZxyz(4.3541, 4.1054, 11.3872)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28385F #5F4F28
analogous
#28545F #28385F #34285F
triadic
#28385F #5F2838 #385F28
tetradic
#28385F #5F2854 #5F4F28 #285F34
square
#28385F #5F2854 #5F4F28 #285F34
split-complementary
#28385F #5F3428 #545F28
monochromatic
#090D16 #161F34 #28385F #3A518A #4D6BB4

Accessibility & contrast

On white

11.53
#28385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#28385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28385F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28385F#FFFFFF#000000##FFFFFF
##28385F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#0A4047
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28385f;
/* rgb */ color: rgb(40, 56, 95);
/* oklch */ color: oklch(34.7% 0.072 265.9);
Tailwind
colors: {
  custom: {
    50: '#666e8c',
    500: '#28385f',
    950: '#000000',
  },
}
SCSS
$custom: #28385f;
$custom-light: #666e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#28385f",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 222.545,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.07162,
    "h": 265.9
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#28385F
secondary
#927F51
accent
#AD57D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #28385F

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

Preview Lab → · Contrast checker → · Palette generator →

#28385F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva