#283F5A#283F5A

#283F5A is a dark, muted cyan. Relative luminance 0.047; OKLCH L 36.2% C 0.055 H 253.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#283F5A
RGBrgb(40, 63, 90)
HSLhsl(212, 38%, 25%)
HSVhsv(212, 56%, 35%)
CMYKcmyk(55.6%, 30%, 0%, 64.7%)
CIE-LABlab(25.99, -0.16, -18.87)
CIE-LCHlch(25.99, 18.87, 269.53°)
OKLaboklab(36.16% -0.016 -0.0529)
OKLCHoklch(36.16% 0.055 253.2)
XYZxyz(4.4974, 4.7440, 10.3496)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F5A #5A4328
analogous
#28585A #283F5A #2A285A
triadic
#283F5A #5A283F #3F5A28
tetradic
#283F5A #5A2858 #5A4328 #285A2A
square
#283F5A #5A2858 #5A4328 #285A2A
split-complementary
#283F5A #5A2A28 #585A28
monochromatic
#090F15 #152130 #283F5A #3B5D84 #4E7AAF

Accessibility & contrast

On white

10.78
#283F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F5A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F5A#FFFFFF#000000##FFFFFF
##283F5A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#2E3B59
Tritanopia (blue-blind)
#0E4548
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283f5a;
/* rgb */ color: rgb(40, 63, 90);
/* oklch */ color: oklch(36.2% 0.055 253.2);
Tailwind
colors: {
  custom: {
    50: '#667388',
    500: '#283f5a',
    950: '#000000',
  },
}
SCSS
$custom: #283f5a;
$custom-light: #667388;
$custom-dark: #000000;
JSON
{
  "hex": "#283f5a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 90
  },
  "hsl": {
    "h": 212.4,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.05527,
    "h": 253.2
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#283F5A
secondary
#8D7151
accent
#9959CE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #283F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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