#28264E#28264E

#28264E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.071 H 283.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#28264E
RGBrgb(40, 38, 78)
HSLhsl(243, 34%, 23%)
HSVhsv(243, 51%, 31%)
CMYKcmyk(48.7%, 51.3%, 0%, 69.4%)
CIE-LABlab(17.40, 13.04, -24.44)
CIE-LCHlch(17.40, 27.70, 298.07°)
OKLaboklab(29.31% 0.0164 -0.0693)
OKLCHoklch(29.31% 0.071 283.3)
XYZxyz(2.9429, 2.3873, 7.5120)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28264E #4C4E26
analogous
#26384E #28264E #3C264E
triadic
#28264E #4E2826 #264E28
tetradic
#28264E #4E2638 #4C4E26 #264E3C
square
#28264E #4E2638 #4C4E26 #264E3C
split-complementary
#28264E #4E3C26 #384E26
monochromatic
#0B0A15 #131225 #28264E #3D3A77 #524EA0

Accessibility & contrast

On white

14.21
#28264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#28264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28264E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28264E#FFFFFF#000000##FFFFFF
##28264E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#1C2E36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #28264e;
/* rgb */ color: rgb(40, 38, 78);
/* oklch */ color: oklch(29.3% 0.071 283.3);
Tailwind
colors: {
  custom: {
    50: '#656080',
    500: '#28264e',
    950: '#000000',
  },
}
SCSS
$custom: #28264e;
$custom-light: #656080;
$custom-dark: #000000;
JSON
{
  "hex": "#28264e",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 243,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.07118,
    "h": 283.3
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#28264E
secondary
#7E814F
accent
#CB5DC5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #28264E

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

Preview Lab → · Contrast checker → · Palette generator →

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