#284F6A#284F6A

#284F6A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.063 H 240.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#284F6A
RGBrgb(40, 79, 106)
HSLhsl(205, 45%, 29%)
HSVhsv(205, 62%, 42%)
CMYKcmyk(62.3%, 25.5%, 0%, 58.4%)
CIE-LABlab(32.00, -4.83, -19.78)
CIE-LCHlch(32.00, 20.36, 256.28°)
OKLaboklab(41.15% -0.0309 -0.0554)
OKLCHoklch(41.15% 0.063 240.9)
XYZxyz(6.2716, 7.0831, 14.6695)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F6A #6A4328
analogous
#286A64 #284F6A #282E6A
triadic
#284F6A #6A284F #4F6A28
tetradic
#284F6A #64286A #6A4328 #2E6A28
square
#284F6A #64286A #6A4328 #2E6A28
split-complementary
#284F6A #6A282E #6A6428
monochromatic
#081116 #172E3E #284F6A #397096 #5090BD

Accessibility & contrast

On white

8.69
#284F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#284F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F6A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F6A#FFFFFF#000000##FFFFFF
##284F6A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6B
Deuteranopia (green-blind)
#3A486A
Tritanopia (blue-blind)
#005658
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284f6a;
/* rgb */ color: rgb(40, 79, 106);
/* oklch */ color: oklch(41.2% 0.063 240.9);
Tailwind
colors: {
  custom: {
    50: '#688094',
    500: '#284f6a',
    950: '#000000',
  },
}
SCSS
$custom: #284f6a;
$custom-light: #688094;
$custom-dark: #000000;
JSON
{
  "hex": "#284f6a",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 106
  },
  "hsl": {
    "h": 204.545,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.06346,
    "h": 240.9
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#284F6A
secondary
#9D7051
accent
#8853D5
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #284F6A

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

Preview Lab → · Contrast checker → · Palette generator →

#284F6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva