#28344F#28344F

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

Color values

HEX#28344F
RGBrgb(40, 52, 79)
HSLhsl(222, 33%, 23%)
HSVhsv(222, 49%, 31%)
CMYKcmyk(49.4%, 34.2%, 0%, 69%)
CIE-LABlab(21.84, 3.46, -18.11)
CIE-LCHlch(21.84, 18.43, 280.82°)
OKLaboklab(32.73% -0.0041 -0.0507)
OKLCHoklch(32.73% 0.051 265.4)
XYZxyz(3.5139, 3.4714, 7.8805)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28344F #4F4328
analogous
#28474F #28344F #2F284F
triadic
#28344F #4F2834 #344F28
tetradic
#28344F #4F2847 #4F4328 #284F2F
square
#28344F #4F2847 #4F4328 #284F2F
split-complementary
#28344F #4F2F28 #474F28
monochromatic
#0A0D14 #131926 #28344F #3D4F78 #5169A0

Accessibility & contrast

On white

12.39
#28344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28344F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28344F#FFFFFF#000000##FFFFFF
##28344F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#26334E
Tritanopia (blue-blind)
#1A3A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28344f;
/* rgb */ color: rgb(40, 52, 79);
/* oklch */ color: oklch(32.7% 0.051 265.4);
Tailwind
colors: {
  custom: {
    50: '#646b80',
    500: '#28344f',
    950: '#000000',
  },
}
SCSS
$custom: #28344f;
$custom-light: #646b80;
$custom-dark: #000000;
JSON
{
  "hex": "#28344f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 221.538,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.0509,
    "h": 265.4
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#28344F
secondary
#827351
accent
#A85FC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #28344F

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

Preview Lab → · Contrast checker → · Palette generator →

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