#28253D#28253D

#28253D is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.9% C 0.044 H 289.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#28253D
RGBrgb(40, 37, 61)
HSLhsl(248, 24%, 19%)
HSVhsv(248, 39%, 24%)
CMYKcmyk(34.4%, 39.3%, 0%, 76.1%)
CIE-LABlab(16.06, 8.06, -14.86)
CIE-LCHlch(16.06, 16.91, 298.48°)
OKLaboklab(27.95% 0.0142 -0.0414)
OKLCHoklch(27.95% 0.044 289)
XYZxyz(2.3787, 2.1111, 4.6961)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28253D #3A3D25
analogous
#252E3D #28253D #34253D
triadic
#28253D #3D2825 #253D28
tetradic
#28253D #3D252E #3A3D25 #253D34
square
#28253D #3D252E #3A3D25 #253D34
split-complementary
#28253D #3D3425 #2E3D25
monochromatic
#0C0C13 #0F0E17 #28253D #413C63 #5A5389

Accessibility & contrast

On white

14.77
#28253D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#28253D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28253D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28253D#FFFFFF#000000##FFFFFF
##28253D1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#23292E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #28253d;
/* rgb */ color: rgb(40, 37, 61);
/* oklch */ color: oklch(27.9% 0.044 289.0);
Tailwind
colors: {
  custom: {
    50: '#625f72',
    500: '#28253d',
    950: '#000000',
  },
}
SCSS
$custom: #28253d;
$custom-light: #625f72;
$custom-dark: #000000;
JSON
{
  "hex": "#28253d",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 61
  },
  "hsl": {
    "h": 247.5,
    "s": 24.49,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27949,
    "c": 0.04376,
    "h": 289
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#28253D
secondary
#6B6F4F
accent
#C167B6
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050408
muted
#79797B

Preview Lab

Preview with #28253D

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

Preview Lab → · Contrast checker → · Palette generator →

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