#28303E#28303E

#28303E is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.8% C 0.028 H 261.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#28303E
RGBrgb(40, 48, 62)
HSLhsl(218, 22%, 20%)
HSVhsv(218, 35%, 24%)
CMYKcmyk(35.5%, 22.6%, 0%, 75.7%)
CIE-LABlab(19.69, 0.61, -9.95)
CIE-LCHlch(19.69, 9.96, 273.49°)
OKLaboklab(30.78% -0.0041 -0.0274)
OKLCHoklch(30.78% 0.028 261.5)
XYZxyz(2.8013, 2.9127, 4.9711)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28303E #3E3628
analogous
#283B3E #28303E #2B283E
triadic
#28303E #3E2830 #303E28
tetradic
#28303E #3E283B #3E3628 #283E2B
square
#28303E #3E283B #3E3628 #283E2B
split-complementary
#28303E #3E2B28 #3B3E28
monochromatic
#0C0E13 #101319 #28303E #404D63 #586A88

Accessibility & contrast

On white

13.27
#28303E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#28303E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28303E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28303E#FFFFFF#000000##FFFFFF
##28303E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B313F
Deuteranopia (green-blind)
#292F3E
Tritanopia (blue-blind)
#223335
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28303e;
/* rgb */ color: rgb(40, 48, 62);
/* oklch */ color: oklch(30.8% 0.028 261.5);
Tailwind
colors: {
  custom: {
    50: '#626873',
    500: '#28303e',
    950: '#000000',
  },
}
SCSS
$custom: #28303e;
$custom-light: #626873;
$custom-dark: #000000;
JSON
{
  "hex": "#28303e",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 218.182,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.30781,
    "c": 0.02769,
    "h": 261.5
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#28303E
secondary
#706552
accent
#9F6ABE
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050608
muted
#797A7B

Preview Lab

Preview with #28303E

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

Preview Lab → · Contrast checker → · Palette generator →

#28303E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva