#28344B#28344B

#28344B is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.044 H 262.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#28344B
RGBrgb(40, 52, 75)
HSLhsl(219, 30%, 23%)
HSVhsv(219, 47%, 29%)
CMYKcmyk(46.7%, 30.7%, 0%, 70.6%)
CIE-LABlab(21.63, 2.09, -15.75)
CIE-LCHlch(21.63, 15.89, 277.55°)
OKLaboklab(32.51% -0.0054 -0.044)
OKLCHoklch(32.51% 0.044 262.9)
XYZxyz(3.3727, 3.4149, 7.1367)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28344B #4B3F28
analogous
#28454B #28344B #2E284B
triadic
#28344B #4B2834 #344B28
tetradic
#28344B #4B2845 #4B3F28 #284B2E
square
#28344B #4B2845 #4B3F28 #284B2E
split-complementary
#28344B #4B2E28 #454B28
monochromatic
#0B0E14 #131823 #28344B #3D5073 #536B9B

Accessibility & contrast

On white

12.48
#28344B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#28344B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28344B
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28344B#FFFFFF#000000##FFFFFF
##28344B1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#28324A
Tritanopia (blue-blind)
#1C393C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28344b;
/* rgb */ color: rgb(40, 52, 75);
/* oklch */ color: oklch(32.5% 0.044 262.9);
Tailwind
colors: {
  custom: {
    50: '#646b7d',
    500: '#28344b',
    950: '#000000',
  },
}
SCSS
$custom: #28344b;
$custom-light: #646b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28344b",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 75
  },
  "hsl": {
    "h": 219.429,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.04429,
    "h": 262.9
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#28344B
secondary
#7D6E51
accent
#A461C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #28344B

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

Preview Lab → · Contrast checker → · Palette generator →

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