#284D7A#284D7A

#284D7A is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.087 H 254.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#284D7A
RGBrgb(40, 77, 122)
HSLhsl(213, 51%, 32%)
HSVhsv(213, 67%, 48%)
CMYKcmyk(67.2%, 36.9%, 0%, 52.2%)
CIE-LABlab(32.18, 2.33, -29.52)
CIE-LCHlch(32.18, 29.61, 274.52°)
OKLaboklab(41.56% -0.0233 -0.0837)
OKLCHoklch(41.56% 0.087 254.5)
XYZxyz(7.0405, 7.1633, 19.4202)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D7A #7A5528
analogous
#28767A #284D7A #2C287A
triadic
#284D7A #7A284D #4D7A28
tetradic
#284D7A #7A2876 #7A5528 #287A2C
square
#284D7A #7A2876 #7A5528 #287A2C
split-complementary
#284D7A #7A2C28 #767A28
monochromatic
#0A131E #19304C #284D7A #376AA8 #5589C7

Accessibility & contrast

On white

8.63
#284D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#284D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D7A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D7A#FFFFFF#000000##FFFFFF
##284D7A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284d7a;
/* rgb */ color: rgb(40, 77, 122);
/* oklch */ color: oklch(41.6% 0.087 254.5);
Tailwind
colors: {
  custom: {
    50: '#6b7ea0',
    500: '#284d7a',
    950: '#000000',
  },
}
SCSS
$custom: #284d7a;
$custom-light: #6b7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#284d7a",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 212.927,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.08689,
    "h": 254.5
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#284D7A
secondary
#AC8352
accent
#9B4EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #284D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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