#28396E#28396E

#28396E is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.094 H 268.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#28396E
RGBrgb(40, 57, 110)
HSLhsl(225, 47%, 29%)
HSVhsv(225, 64%, 43%)
CMYKcmyk(63.6%, 48.2%, 0%, 56.9%)
CIE-LABlab(25.27, 11.34, -32.93)
CIE-LCHlch(25.27, 34.83, 289.01°)
OKLaboklab(35.98% -0.0032 -0.094)
OKLCHoklch(35.98% 0.094 268.1)
XYZxyz(5.1517, 4.5027, 15.3465)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28396E #6E5D28
analogous
#285C6E #28396E #3A286E
triadic
#28396E #6E2839 #396E28
tetradic
#28396E #6E285C #6E5D28 #286E3A
square
#28396E #6E285C #6E5D28 #286E3A
split-complementary
#28396E #6E3A28 #5C6E28
monochromatic
#080C16 #182241 #28396E #38509B #516CC0

Accessibility & contrast

On white

11.05
#28396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28396E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28396E#FFFFFF#000000##FFFFFF
##28396E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#15396D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28396e;
/* rgb */ color: rgb(40, 57, 110);
/* oklch */ color: oklch(36.0% 0.094 268.1);
Tailwind
colors: {
  custom: {
    50: '#696f98',
    500: '#28396e',
    950: '#000000',
  },
}
SCSS
$custom: #28396e;
$custom-light: #696f98;
$custom-dark: #000000;
JSON
{
  "hex": "#28396e",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 225.429,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.09404,
    "h": 268.1
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#28396E
secondary
#A08D51
accent
#B651D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28396E

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

Preview Lab → · Contrast checker → · Palette generator →

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