#283F5F#283F5F

#283F5F is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.063 H 256.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#283F5F
RGBrgb(40, 63, 95)
HSLhsl(215, 41%, 26%)
HSVhsv(215, 58%, 37%)
CMYKcmyk(57.9%, 33.7%, 0%, 62.7%)
CIE-LABlab(26.25, 1.63, -21.72)
CIE-LCHlch(26.25, 21.78, 274.30°)
OKLaboklab(36.45% -0.0143 -0.0611)
OKLCHoklch(36.45% 0.063 256.8)
XYZxyz(4.7174, 4.8320, 11.5083)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F5F #5F4828
analogous
#285B5F #283F5F #2D285F
triadic
#283F5F #5F283F #3F5F28
tetradic
#283F5F #5F285B #5F4828 #285F2D
square
#283F5F #5F285B #5F4828 #285F2D
split-complementary
#283F5F #5F2D28 #5B5F28
monochromatic
#090E16 #162234 #283F5F #3A5C8A #4D78B4

Accessibility & contrast

On white

10.68
#283F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F5F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F5F#FFFFFF#000000##FFFFFF
##283F5F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#2B3C5E
Tritanopia (blue-blind)
#08464A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283f5f;
/* rgb */ color: rgb(40, 63, 95);
/* oklch */ color: oklch(36.5% 0.063 256.8);
Tailwind
colors: {
  custom: {
    50: '#66738c',
    500: '#283f5f',
    950: '#000000',
  },
}
SCSS
$custom: #283f5f;
$custom-light: #66738c;
$custom-dark: #000000;
JSON
{
  "hex": "#283f5f",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 95
  },
  "hsl": {
    "h": 214.909,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36451,
    "c": 0.06278,
    "h": 256.8
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#283F5F
secondary
#927751
accent
#9E57D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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