#28366E#28366E

#28366E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.098 H 270.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#28366E
RGBrgb(40, 54, 110)
HSLhsl(228, 47%, 29%)
HSVhsv(228, 64%, 43%)
CMYKcmyk(63.6%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.37, 13.44, -34.37)
CIE-LCHlch(24.37, 36.91, 291.36°)
OKLaboklab(35.3% 0.0003 -0.0983)
OKLCHoklch(35.3% 0.098 270.2)
XYZxyz(5.0078, 4.2148, 15.2985)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28366E #6E6028
analogous
#28596E #28366E #3D286E
triadic
#28366E #6E2836 #366E28
tetradic
#28366E #6E2859 #6E6028 #286E3D
square
#28366E #6E2859 #6E6028 #286E3D
split-complementary
#28366E #6E3D28 #596E28
monochromatic
#080B16 #182041 #28366E #384C9B #5167C0

Accessibility & contrast

On white

11.39
#28366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#28366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28366E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28366E#FFFFFF#000000##FFFFFF
##28366E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28366e;
/* rgb */ color: rgb(40, 54, 110);
/* oklch */ color: oklch(35.3% 0.098 270.2);
Tailwind
colors: {
  custom: {
    50: '#696c98',
    500: '#28366e',
    950: '#000000',
  },
}
SCSS
$custom: #28366e;
$custom-light: #696c98;
$custom-dark: #000000;
JSON
{
  "hex": "#28366e",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 228,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.09827,
    "h": 270.2
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

primary
#28366E
secondary
#A09151
accent
#BC51D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #28366E

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

Preview Lab → · Contrast checker → · Palette generator →

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