#284D7B#284D7B

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

Color values

HEX#284D7B
RGBrgb(40, 77, 123)
HSLhsl(213, 51%, 32%)
HSVhsv(213, 67%, 48%)
CMYKcmyk(67.5%, 37.4%, 0%, 51.8%)
CIE-LABlab(32.23, 2.71, -30.05)
CIE-LCHlch(32.23, 30.17, 275.15°)
OKLaboklab(41.62% -0.023 -0.0853)
OKLCHoklch(41.62% 0.088 254.9)
XYZxyz(7.1028, 7.1882, 19.7482)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D7B #7B5628
analogous
#28777B #284D7B #2D287B
triadic
#284D7B #7B284D #4D7B28
tetradic
#284D7B #7B2877 #7B5628 #287B2D
square
#284D7B #7B2877 #7B5628 #287B2D
split-complementary
#284D7B #7B2D28 #777B28
monochromatic
#0A131F #19304D #284D7B #376AA9 #5689C8

Accessibility & contrast

On white

8.61
#284D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#284D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D7B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D7B#FFFFFF#000000##FFFFFF
##284D7B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284d7b;
/* rgb */ color: rgb(40, 77, 123);
/* oklch */ color: oklch(41.6% 0.088 254.9);
Tailwind
colors: {
  custom: {
    50: '#6b7ea1',
    500: '#284d7b',
    950: '#000000',
  },
}
SCSS
$custom: #284d7b;
$custom-light: #6b7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#284d7b",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 213.253,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.08832,
    "h": 254.9
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#284D7B
secondary
#AD8452
accent
#9C4DDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #284D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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