#28263A#28263A

#28263A is a dark, muted blue. Relative luminance 0.021; OKLCH L 28.0% C 0.037 H 288.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#28263A
RGBrgb(40, 38, 58)
HSLhsl(246, 21%, 19%)
HSVhsv(246, 34%, 23%)
CMYKcmyk(31%, 34.5%, 0%, 77.3%)
CIE-LABlab(16.22, 6.41, -12.52)
CIE-LCHlch(16.22, 14.06, 297.10°)
OKLaboklab(28.02% 0.0115 -0.0347)
OKLCHoklch(28.02% 0.037 288.4)
XYZxyz(2.3317, 2.1428, 4.2929)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28263A #383A26
analogous
#262E3A #28263A #32263A
triadic
#28263A #3A2826 #263A28
tetradic
#28263A #3A262E #383A26 #263A32
square
#28263A #3A262E #383A26 #263A32
split-complementary
#28263A #3A3226 #2E3A26
monochromatic
#0D0C12 #0F0E15 #28263A #423E5F #5B5684

Accessibility & contrast

On white

14.70
#28263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#28263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28263A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28263A#FFFFFF#000000##FFFFFF
##28263A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#24292D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #28263a;
/* rgb */ color: rgb(40, 38, 58);
/* oklch */ color: oklch(28.0% 0.037 288.4);
Tailwind
colors: {
  custom: {
    50: '#626070',
    500: '#28263a',
    950: '#000000',
  },
}
SCSS
$custom: #28263a;
$custom-light: #626070;
$custom-dark: #000000;
JSON
{
  "hex": "#28263a",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 246,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2802,
    "c": 0.03652,
    "h": 288.4
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#28263A
secondary
#696C50
accent
#BD6AB5
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050407
muted
#79797A

Preview Lab

Preview with #28263A

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

Preview Lab → · Contrast checker → · Palette generator →

#28263A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva