#284F7E#284F7E

#284F7E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.090 H 254.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#284F7E
RGBrgb(40, 79, 126)
HSLhsl(213, 52%, 33%)
HSVhsv(213, 68%, 49%)
CMYKcmyk(68.3%, 37.3%, 0%, 50.6%)
CIE-LABlab(33.02, 2.53, -30.66)
CIE-LCHlch(33.02, 30.76, 274.72°)
OKLaboklab(42.3% -0.0244 -0.087)
OKLCHoklch(42.3% 0.09 254.4)
XYZxyz(7.4356, 7.5487, 20.7998)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F7E #7E5728
analogous
#287A7E #284F7E #2C287E
triadic
#284F7E #7E284F #4F7E28
tetradic
#284F7E #7E287A #7E5728 #287E2C
square
#284F7E #7E287A #7E5728 #287E2C
split-complementary
#284F7E #7E2C28 #7A7E28
monochromatic
#0B1521 #193250 #284F7E #376CAC #578BCA

Accessibility & contrast

On white

8.37
#284F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#284F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F7E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F7E#FFFFFF#000000##FFFFFF
##284F7E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284f7e;
/* rgb */ color: rgb(40, 79, 126);
/* oklch */ color: oklch(42.3% 0.090 254.4);
Tailwind
colors: {
  custom: {
    50: '#6c80a3',
    500: '#284f7e',
    950: '#000000',
  },
}
SCSS
$custom: #284f7e;
$custom-light: #6c80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#284f7e",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 212.791,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.09038,
    "h": 254.4
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#284F7E
secondary
#AF8553
accent
#9B4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #284F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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