#28385C#28385C

#28385C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.5% C 0.067 H 265.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#28385C
RGBrgb(40, 56, 92)
HSLhsl(222, 39%, 26%)
HSVhsv(222, 57%, 36%)
CMYKcmyk(56.5%, 39.1%, 0%, 63.9%)
CIE-LABlab(23.84, 5.32, -23.55)
CIE-LCHlch(23.84, 24.14, 282.73°)
OKLaboklab(34.52% -0.0059 -0.0665)
OKLCHoklch(34.52% 0.067 265)
XYZxyz(4.2204, 4.0519, 10.6828)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28385C #5C4C28
analogous
#28525C #28385C #32285C
triadic
#28385C #5C2838 #385C28
tetradic
#28385C #5C2852 #5C4C28 #285C32
square
#28385C #5C2852 #5C4C28 #285C32
split-complementary
#28385C #5C3228 #525C28
monochromatic
#090D15 #151E31 #28385C #3B5287 #4D6CB1

Accessibility & contrast

On white

11.60
#28385C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#28385C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28385C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28385C#FFFFFF#000000##FFFFFF
##28385C1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#0E4045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28385c;
/* rgb */ color: rgb(40, 56, 92);
/* oklch */ color: oklch(34.5% 0.067 265.0);
Tailwind
colors: {
  custom: {
    50: '#666e8a',
    500: '#28385c',
    950: '#000000',
  },
}
SCSS
$custom: #28385c;
$custom-light: #666e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#28385c",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 221.538,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34523,
    "c": 0.06679,
    "h": 265
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#28385C
secondary
#8F7C51
accent
#AB59CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #28385C

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

Preview Lab → · Contrast checker → · Palette generator →

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