#284C99#284C99

#284C99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.133 H 263.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#284C99
RGBrgb(40, 76, 153)
HSLhsl(221, 59%, 38%)
HSVhsv(221, 74%, 60%)
CMYKcmyk(73.9%, 50.3%, 0%, 40%)
CIE-LABlab(33.81, 14.92, -45.93)
CIE-LCHlch(33.81, 48.30, 287.99°)
OKLaboklab(43.45% -0.0158 -0.1319)
OKLCHoklch(43.45% 0.133 263.1)
XYZxyz(9.2072, 7.9189, 31.1741)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C99 #997528
analogous
#288499 #284C99 #3D2899
triadic
#284C99 #99284C #4C9928
tetradic
#284C99 #992884 #997528 #28993D
square
#284C99 #992884 #997528 #28993D
split-complementary
#284C99 #993D28 #849928
monochromatic
#0F1C38 #1B3468 #284C99 #3564CA #6589D7

Accessibility & contrast

On white

8.13
#284C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#284C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C99
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C99#FFFFFF#000000##FFFFFF
##284C991.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284c99;
/* rgb */ color: rgb(40, 76, 153);
/* oklch */ color: oklch(43.5% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#727db8',
    500: '#284c99',
    950: '#000000',
  },
}
SCSS
$custom: #284c99;
$custom-light: #727db8;
$custom-dark: #000000;
JSON
{
  "hex": "#284c99",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 220.885,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.13288,
    "h": 263.1
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#284C99
secondary
#BD9F60
accent
#B046E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284C99

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

Preview Lab → · Contrast checker → · Palette generator →

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