#28344D#28344D

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

Color values

HEX#28344D
RGBrgb(40, 52, 77)
HSLhsl(221, 32%, 23%)
HSVhsv(221, 48%, 30%)
CMYKcmyk(48.1%, 32.5%, 0%, 69.8%)
CIE-LABlab(21.74, 2.77, -16.93)
CIE-LCHlch(21.74, 17.16, 279.29°)
OKLaboklab(32.62% -0.0048 -0.0474)
OKLCHoklch(32.62% 0.048 264.3)
XYZxyz(3.4422, 3.4427, 7.5029)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28344D #4D4128
analogous
#28464D #28344D #2E284D
triadic
#28344D #4D2834 #344D28
tetradic
#28344D #4D2846 #4D4128 #284D2E
square
#28344D #4D2846 #4D4128 #284D2E
split-complementary
#28344D #4D2E28 #464D28
monochromatic
#0A0E14 #131925 #28344D #3D4F75 #526A9E

Accessibility & contrast

On white

12.44
#28344D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28344D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28344D#FFFFFF#000000##FFFFFF
##28344D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#27334C
Tritanopia (blue-blind)
#1B393D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28344d;
/* rgb */ color: rgb(40, 52, 77);
/* oklch */ color: oklch(32.6% 0.048 264.3);
Tailwind
colors: {
  custom: {
    50: '#646b7f',
    500: '#28344d',
    950: '#000000',
  },
}
SCSS
$custom: #28344d;
$custom-light: #646b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28344d",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 77
  },
  "hsl": {
    "h": 220.541,
    "s": 31.624,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.04759,
    "h": 264.3
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#28344D
secondary
#807151
accent
#A660C8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #28344D

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

Preview Lab → · Contrast checker → · Palette generator →

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