#28396D#28396D

#28396D is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.092 H 267.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#28396D
RGBrgb(40, 57, 109)
HSLhsl(225, 46%, 29%)
HSVhsv(225, 63%, 43%)
CMYKcmyk(63.3%, 47.7%, 0%, 57.3%)
CIE-LABlab(25.20, 10.96, -32.40)
CIE-LCHlch(25.20, 34.20, 288.70°)
OKLaboklab(35.91% -0.0033 -0.0924)
OKLCHoklch(35.91% 0.092 267.9)
XYZxyz(5.0976, 4.4811, 15.0613)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28396D #6D5C28
analogous
#285C6D #28396D #3A286D
triadic
#28396D #6D2839 #396D28
tetradic
#28396D #6D285C #6D5C28 #286D3A
square
#28396D #6D285C #6D5C28 #286D3A
split-complementary
#28396D #6D3A28 #5C6D28
monochromatic
#080C16 #182240 #28396D #38509A #506CBF

Accessibility & contrast

On white

11.07
#28396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#28396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28396D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28396D#FFFFFF#000000##FFFFFF
##28396D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#16396C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28396d;
/* rgb */ color: rgb(40, 57, 109);
/* oklch */ color: oklch(35.9% 0.092 267.9);
Tailwind
colors: {
  custom: {
    50: '#696f97',
    500: '#28396d',
    950: '#000000',
  },
}
SCSS
$custom: #28396d;
$custom-light: #696f97;
$custom-dark: #000000;
JSON
{
  "hex": "#28396d",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 225.217,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.09248,
    "h": 267.9
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#28396D
secondary
#9F8C51
accent
#B552D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28396D

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

Preview Lab → · Contrast checker → · Palette generator →

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