#28264D#28264D

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

Color values

HEX#28264D
RGBrgb(40, 38, 77)
HSLhsl(243, 34%, 23%)
HSVhsv(243, 51%, 30%)
CMYKcmyk(48.1%, 50.6%, 0%, 69.8%)
CIE-LABlab(17.33, 12.69, -23.87)
CIE-LCHlch(17.33, 27.03, 298.00°)
OKLaboklab(29.24% 0.0163 -0.0676)
OKLCHoklch(29.24% 0.07 283.5)
XYZxyz(2.9073, 2.3730, 7.3246)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28264D #4B4D26
analogous
#26374D #28264D #3B264D
triadic
#28264D #4D2826 #264D28
tetradic
#28264D #4D2637 #4B4D26 #264D3B
square
#28264D #4D2637 #4B4D26 #264D3B
split-complementary
#28264D #4D3B26 #374D26
monochromatic
#0B0A14 #131224 #28264D #3D3A76 #534E9F

Accessibility & contrast

On white

14.24
#28264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28264D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28264D#FFFFFF#000000##FFFFFF
##28264D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4E
Deuteranopia (green-blind)
#15294C
Tritanopia (blue-blind)
#1C2E35
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #28264d;
/* rgb */ color: rgb(40, 38, 77);
/* oklch */ color: oklch(29.2% 0.070 283.5);
Tailwind
colors: {
  custom: {
    50: '#64607f',
    500: '#28264d',
    950: '#000000',
  },
}
SCSS
$custom: #28264d;
$custom-light: #64607f;
$custom-dark: #000000;
JSON
{
  "hex": "#28264d",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 243.077,
    "s": 33.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29236,
    "c": 0.06951,
    "h": 283.5
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#28264D
secondary
#7D804F
accent
#CA5EC4
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #28264D

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

Preview Lab → · Contrast checker → · Palette generator →

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