#28344C#28344C

#28344C is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.6% C 0.046 H 263.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#28344C
RGBrgb(40, 52, 76)
HSLhsl(220, 31%, 23%)
HSVhsv(220, 47%, 30%)
CMYKcmyk(47.4%, 31.6%, 0%, 70.2%)
CIE-LABlab(21.68, 2.43, -16.34)
CIE-LCHlch(21.68, 16.52, 278.45°)
OKLaboklab(32.56% -0.0051 -0.0457)
OKLCHoklch(32.56% 0.046 263.6)
XYZxyz(3.4072, 3.4287, 7.3184)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28344C #4C4028
analogous
#28464C #28344C #2E284C
triadic
#28344C #4C2834 #344C28
tetradic
#28344C #4C2846 #4C4028 #284C2E
square
#28344C #4C2846 #4C4028 #284C2E
split-complementary
#28344C #4C2E28 #464C28
monochromatic
#0B0E14 #131924 #28344C #3D4F74 #526B9C

Accessibility & contrast

On white

12.46
#28344C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28344C
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28344C#FFFFFF#000000##FFFFFF
##28344C1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#28324B
Tritanopia (blue-blind)
#1B393C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28344c;
/* rgb */ color: rgb(40, 52, 76);
/* oklch */ color: oklch(32.6% 0.046 263.6);
Tailwind
colors: {
  custom: {
    50: '#646b7e',
    500: '#28344c',
    950: '#000000',
  },
}
SCSS
$custom: #28344c;
$custom-light: #646b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28344c",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 76
  },
  "hsl": {
    "h": 220,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.04593,
    "h": 263.6
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#28344C
secondary
#7E6F51
accent
#A561C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #28344C

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

Preview Lab → · Contrast checker → · Palette generator →

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