#283A52#283A52

#283A52 is a dark, muted cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.048 H 255.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#283A52
RGBrgb(40, 58, 82)
HSLhsl(214, 34%, 24%)
HSVhsv(214, 51%, 32%)
CMYKcmyk(51.2%, 29.3%, 0%, 67.8%)
CIE-LABlab(23.95, 0.40, -16.80)
CIE-LCHlch(23.95, 16.81, 271.35°)
OKLaboklab(34.43% -0.0118 -0.047)
OKLCHoklch(34.43% 0.048 255.9)
XYZxyz(3.9106, 4.0862, 8.5636)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A52 #524028
analogous
#284F52 #283A52 #2B2852
triadic
#283A52 #52283A #3A5228
tetradic
#283A52 #52284F #524028 #28522B
square
#283A52 #52284F #524028 #28522B
split-complementary
#283A52 #522B28 #4F5228
monochromatic
#0A0F15 #141D29 #283A52 #3C577B #5074A4

Accessibility & contrast

On white

11.56
#283A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#283A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A52
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A52#FFFFFF#000000##FFFFFF
##283A521.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#173F42
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283a52;
/* rgb */ color: rgb(40, 58, 82);
/* oklch */ color: oklch(34.4% 0.048 255.9);
Tailwind
colors: {
  custom: {
    50: '#647082',
    500: '#283a52',
    950: '#000000',
  },
}
SCSS
$custom: #283a52;
$custom-light: #647082;
$custom-dark: #000000;
JSON
{
  "hex": "#283a52",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 214.286,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34434,
    "c": 0.04843,
    "h": 255.9
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#283A52
secondary
#856F51
accent
#9C5DCB
background
#F6F6F8
surface
#EBECEF
border
#C6C7CA
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #283A52

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

Preview Lab → · Contrast checker → · Palette generator →

#283A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva