#28264C#28264C

#28264C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.068 H 283.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#28264C
RGBrgb(40, 38, 76)
HSLhsl(243, 33%, 22%)
HSVhsv(243, 50%, 30%)
CMYKcmyk(47.4%, 50%, 0%, 70.2%)
CIE-LABlab(17.27, 12.34, -23.29)
CIE-LCHlch(17.27, 26.36, 297.92°)
OKLaboklab(29.17% 0.0161 -0.0659)
OKLCHoklch(29.17% 0.068 283.7)
XYZxyz(2.8723, 2.3590, 7.1401)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28264C #4A4C26
analogous
#26374C #28264C #3B264C
triadic
#28264C #4C2826 #264C28
tetradic
#28264C #4C2637 #4A4C26 #264C3B
square
#28264C #4C2637 #4A4C26 #264C3B
split-complementary
#28264C #4C3B26 #374C26
monochromatic
#0B0A14 #131223 #28264C #3D3A75 #534F9E

Accessibility & contrast

On white

14.27
#28264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#28264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28264C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28264C#FFFFFF#000000##FFFFFF
##28264C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4D
Deuteranopia (green-blind)
#16294B
Tritanopia (blue-blind)
#1D2E35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28264c;
/* rgb */ color: rgb(40, 38, 76);
/* oklch */ color: oklch(29.2% 0.068 283.7);
Tailwind
colors: {
  custom: {
    50: '#64607e',
    500: '#28264c',
    950: '#000000',
  },
}
SCSS
$custom: #28264c;
$custom-light: #64607e;
$custom-dark: #000000;
JSON
{
  "hex": "#28264c",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 243.158,
    "s": 33.333,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29165,
    "c": 0.06784,
    "h": 283.7
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#28264C
secondary
#7C7F4F
accent
#C95EC4
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #28264C

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

Preview Lab → · Contrast checker → · Palette generator →

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