#28264B#28264B

#28264B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.066 H 283.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#28264B
RGBrgb(40, 38, 75)
HSLhsl(243, 33%, 22%)
HSVhsv(243, 49%, 29%)
CMYKcmyk(46.7%, 49.3%, 0%, 70.6%)
CIE-LABlab(17.20, 12.00, -22.71)
CIE-LCHlch(17.20, 25.69, 297.84°)
OKLaboklab(29.09% 0.0159 -0.0642)
OKLCHoklch(29.09% 0.066 283.9)
XYZxyz(2.8378, 2.3452, 6.9584)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28264B #494B26
analogous
#26374B #28264B #3B264B
triadic
#28264B #4B2826 #264B28
tetradic
#28264B #4B2637 #494B26 #264B3B
square
#28264B #4B2637 #494B26 #264B3B
split-complementary
#28264B #4B3B26 #374B26
monochromatic
#0B0A14 #121122 #28264B #3E3B74 #534F9C

Accessibility & contrast

On white

14.30
#28264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28264B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28264B#FFFFFF#000000##FFFFFF
##28264B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#17294A
Tritanopia (blue-blind)
#1D2D34
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28264b;
/* rgb */ color: rgb(40, 38, 75);
/* oklch */ color: oklch(29.1% 0.066 283.9);
Tailwind
colors: {
  custom: {
    50: '#64607d',
    500: '#28264b',
    950: '#000000',
  },
}
SCSS
$custom: #28264b;
$custom-light: #64607d;
$custom-dark: #000000;
JSON
{
  "hex": "#28264b",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 243.243,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29094,
    "c": 0.06615,
    "h": 283.9
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#28264B
secondary
#7B7E4F
accent
#C95FC3
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #28264B

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

Preview Lab → · Contrast checker → · Palette generator →

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