#28343F#28343F

#28343F is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.9% C 0.026 H 246.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#28343F
RGBrgb(40, 52, 63)
HSLhsl(209, 22%, 20%)
HSVhsv(209, 37%, 25%)
CMYKcmyk(36.5%, 17.5%, 0%, 75.3%)
CIE-LABlab(21.08, -1.81, -8.51)
CIE-LCHlch(21.08, 8.70, 258.02°)
OKLaboklab(31.89% -0.0102 -0.0234)
OKLCHoklch(31.89% 0.026 246.4)
XYZxyz(3.0000, 3.2658, 5.1740)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28343F #3F3328
analogous
#283F3E #28343F #28283F
triadic
#28343F #3F2834 #343F28
tetradic
#28343F #3E283F #3F3328 #283F28
square
#28343F #3E283F #3F3328 #283F28
split-complementary
#28343F #3F2828 #3F3E28
monochromatic
#0C0F13 #10151A #28343F #405364 #58728A

Accessibility & contrast

On white

12.70
#28343F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#28343F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28343F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28343F#FFFFFF#000000##FFFFFF
##28343F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303440
Deuteranopia (green-blind)
#2D323F
Tritanopia (blue-blind)
#213738
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28343f;
/* rgb */ color: rgb(40, 52, 63);
/* oklch */ color: oklch(31.9% 0.026 246.4);
Tailwind
colors: {
  custom: {
    50: '#626b74',
    500: '#28343f',
    950: '#000000',
  },
}
SCSS
$custom: #28343f;
$custom-light: #626b74;
$custom-dark: #000000;
JSON
{
  "hex": "#28343f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 63
  },
  "hsl": {
    "h": 208.696,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31886,
    "c": 0.02552,
    "h": 246.4
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#28343F
secondary
#716152
accent
#9269BF
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #28343F

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

Preview Lab → · Contrast checker → · Palette generator →

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