#284F7C#284F7C

#284F7C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.088 H 253.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#284F7C
RGBrgb(40, 79, 124)
HSLhsl(212, 51%, 32%)
HSVhsv(212, 68%, 49%)
CMYKcmyk(67.7%, 36.3%, 0%, 51.4%)
CIE-LABlab(32.91, 1.78, -29.60)
CIE-LCHlch(32.91, 29.65, 273.43°)
OKLaboklab(42.18% -0.0249 -0.0839)
OKLCHoklch(42.18% 0.088 253.4)
XYZxyz(7.3078, 7.4976, 20.1269)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F7C #7C5528
analogous
#28797C #284F7C #2B287C
triadic
#284F7C #7C284F #4F7C28
tetradic
#284F7C #7C2879 #7C5528 #287C2B
square
#284F7C #7C2879 #7C5528 #287C2B
split-complementary
#284F7C #7C2B28 #797C28
monochromatic
#0A141F #19324E #284F7C #376CAA #568BC8

Accessibility & contrast

On white

8.40
#284F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F7C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F7C#FFFFFF#000000##FFFFFF
##284F7C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284f7c;
/* rgb */ color: rgb(40, 79, 124);
/* oklch */ color: oklch(42.2% 0.088 253.4);
Tailwind
colors: {
  custom: {
    50: '#6b80a2',
    500: '#284f7c',
    950: '#000000',
  },
}
SCSS
$custom: #284f7c;
$custom-light: #6b80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#284f7c",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 212.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.08755,
    "h": 253.4
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#284F7C
secondary
#AD8352
accent
#994DDB
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #284F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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