#28344E#28344E

#28344E is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.7% C 0.049 H 264.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#28344E
RGBrgb(40, 52, 78)
HSLhsl(221, 32%, 23%)
HSVhsv(221, 49%, 31%)
CMYKcmyk(48.7%, 33.3%, 0%, 69.4%)
CIE-LABlab(21.79, 3.11, -17.52)
CIE-LCHlch(21.79, 17.79, 280.08°)
OKLaboklab(32.68% -0.0044 -0.049)
OKLCHoklch(32.68% 0.049 264.8)
XYZxyz(3.4778, 3.4570, 7.6903)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28344E #4E4228
analogous
#28474E #28344E #2F284E
triadic
#28344E #4E2834 #344E28
tetradic
#28344E #4E2847 #4E4228 #284E2F
square
#28344E #4E2847 #4E4228 #284E2F
split-complementary
#28344E #4E2F28 #474E28
monochromatic
#0A0D14 #131926 #28344E #3D4F76 #516A9F

Accessibility & contrast

On white

12.42
#28344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#28344E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28344E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28344E#FFFFFF#000000##FFFFFF
##28344E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#1A393D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28344e;
/* rgb */ color: rgb(40, 52, 78);
/* oklch */ color: oklch(32.7% 0.049 264.8);
Tailwind
colors: {
  custom: {
    50: '#646b7f',
    500: '#28344e',
    950: '#000000',
  },
}
SCSS
$custom: #28344e;
$custom-light: #646b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28344e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 221.053,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.04924,
    "h": 264.8
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#28344E
secondary
#817251
accent
#A75FC8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #28344E

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

Preview Lab → · Contrast checker → · Palette generator →

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