#28264F#28264F

#28264F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.073 H 283.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#28264F
RGBrgb(40, 38, 79)
HSLhsl(243, 35%, 23%)
HSVhsv(243, 52%, 31%)
CMYKcmyk(49.4%, 51.9%, 0%, 69%)
CIE-LABlab(17.47, 13.39, -25.01)
CIE-LCHlch(17.47, 28.37, 298.16°)
OKLaboklab(29.38% 0.0166 -0.0709)
OKLCHoklch(29.38% 0.073 283.2)
XYZxyz(2.9791, 2.4017, 7.7022)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28264F #4D4F26
analogous
#26384F #28264F #3C264F
triadic
#28264F #4F2826 #264F28
tetradic
#28264F #4F2638 #4D4F26 #264F3C
square
#28264F #4F2638 #4D4F26 #264F3C
split-complementary
#28264F #4F3C26 #384F26
monochromatic
#0A0A15 #131226 #28264F #3D3A78 #524EA2

Accessibility & contrast

On white

14.19
#28264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28264F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28264F#FFFFFF#000000##FFFFFF
##28264F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#132A4E
Tritanopia (blue-blind)
#1B2F36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #28264f;
/* rgb */ color: rgb(40, 38, 79);
/* oklch */ color: oklch(29.4% 0.073 283.2);
Tailwind
colors: {
  custom: {
    50: '#656080',
    500: '#28264f',
    950: '#000000',
  },
}
SCSS
$custom: #28264f;
$custom-light: #656080;
$custom-dark: #000000;
JSON
{
  "hex": "#28264f",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 242.927,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2938,
    "c": 0.07284,
    "h": 283.2
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#28264F
secondary
#80824F
accent
#CB5DC6
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #28264F

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

Preview Lab → · Contrast checker → · Palette generator →

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