#284A76#284A76

#284A76 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.084 H 255.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#284A76
RGBrgb(40, 74, 118)
HSLhsl(214, 49%, 31%)
HSVhsv(214, 66%, 46%)
CMYKcmyk(66.1%, 37.3%, 0%, 53.7%)
CIE-LABlab(31.01, 2.80, -28.86)
CIE-LCHlch(31.01, 29.00, 275.55°)
OKLaboklab(40.58% -0.021 -0.0818)
OKLCHoklch(40.58% 0.084 255.6)
XYZxyz(6.5927, 6.6561, 18.0733)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A76 #765428
analogous
#287176 #284A76 #2D2876
triadic
#284A76 #76284A #4A7628
tetradic
#284A76 #762871 #765428 #28762D
square
#284A76 #762871 #765428 #28762D
split-complementary
#284A76 #762D28 #717628
monochromatic
#09111B #192D48 #284A76 #3767A4 #5485C5

Accessibility & contrast

On white

9.01
#284A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#284A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A76
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A76#FFFFFF#000000##FFFFFF
##284A761.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#2C4675
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284a76;
/* rgb */ color: rgb(40, 74, 118);
/* oklch */ color: oklch(40.6% 0.084 255.6);
Tailwind
colors: {
  custom: {
    50: '#6a7c9e',
    500: '#284a76',
    950: '#000000',
  },
}
SCSS
$custom: #284a76;
$custom-light: #6a7c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#284a76",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 213.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.08449,
    "h": 255.6
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#284A76
secondary
#A88252
accent
#9D4FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284A76

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

Preview Lab → · Contrast checker → · Palette generator →

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