#284CA4#284CA4

#284CA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.148 H 264.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#284CA4
RGBrgb(40, 76, 164)
HSLhsl(223, 61%, 40%)
HSVhsv(223, 76%, 64%)
CMYKcmyk(75.6%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.60, 19.18, -51.29)
CIE-LCHlch(34.60, 54.76, 290.51°)
OKLaboklab(44.3% -0.0146 -0.1477)
OKLCHoklch(44.3% 0.148 264.4)
XYZxyz(10.1580, 8.2992, 36.1813)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA4 #A48028
analogous
#288AA4 #284CA4 #4228A4
triadic
#284CA4 #A4284C #4CA428
tetradic
#284CA4 #A4288A #A48028 #28A442
square
#284CA4 #A4288A #A48028 #28A442
split-complementary
#284CA4 #A44228 #8AA428
monochromatic
#101E42 #1C3573 #284CA4 #3A65CF #6B8CDB

Accessibility & contrast

On white

7.89
#284CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#284CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA4#FFFFFF#000000##FFFFFF
##284CA41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ca4;
/* rgb */ color: rgb(40, 76, 164);
/* oklch */ color: oklch(44.3% 0.148 264.4);
Tailwind
colors: {
  custom: {
    50: '#747dc0',
    500: '#284ca4',
    950: '#000000',
  },
}
SCSS
$custom: #284ca4;
$custom-light: #747dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca4",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 222.581,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.14841,
    "h": 264.4
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#284CA4
secondary
#C1A766
accent
#B544E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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