#284D7E#284D7E

#284D7E is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.093 H 256.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#284D7E
RGBrgb(40, 77, 126)
HSLhsl(214, 52%, 33%)
HSVhsv(214, 68%, 49%)
CMYKcmyk(68.3%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.40, 3.84, -31.65)
CIE-LCHlch(32.40, 31.88, 276.93°)
OKLaboklab(41.81% -0.0222 -0.0899)
OKLCHoklch(41.81% 0.093 256.1)
XYZxyz(7.2935, 7.2645, 20.7524)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D7E #7E5928
analogous
#28787E #284D7E #2E287E
triadic
#284D7E #7E284D #4D7E28
tetradic
#284D7E #7E2878 #7E5928 #287E2E
square
#284D7E #7E2878 #7E5928 #287E2E
split-complementary
#284D7E #7E2E28 #787E28
monochromatic
#0B1421 #193150 #284D7E #3769AC #5788CA

Accessibility & contrast

On white

8.56
#284D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#284D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D7E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D7E#FFFFFF#000000##FFFFFF
##284D7E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284d7e;
/* rgb */ color: rgb(40, 77, 126);
/* oklch */ color: oklch(41.8% 0.093 256.1);
Tailwind
colors: {
  custom: {
    50: '#6c7ea3',
    500: '#284d7e',
    950: '#000000',
  },
}
SCSS
$custom: #284d7e;
$custom-light: #6c7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#284d7e",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 214.186,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.09263,
    "h": 256.1
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#284D7E
secondary
#AF8753
accent
#9E4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #284D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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