#284DA4#284DA4

#284DA4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.147 H 264.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#284DA4
RGBrgb(40, 77, 164)
HSLhsl(222, 61%, 40%)
HSVhsv(222, 76%, 64%)
CMYKcmyk(75.6%, 53%, 0%, 35.7%)
CIE-LABlab(34.88, 18.51, -50.84)
CIE-LCHlch(34.88, 54.10, 290.01°)
OKLaboklab(44.51% -0.0154 -0.1463)
OKLCHoklch(44.51% 0.147 264)
XYZxyz(10.2274, 8.4381, 36.2045)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DA4 #A47F28
analogous
#288BA4 #284DA4 #4128A4
triadic
#284DA4 #A4284D #4DA428
tetradic
#284DA4 #A4288B #A47F28 #28A441
square
#284DA4 #A4288B #A47F28 #28A441
split-complementary
#284DA4 #A44128 #8BA428
monochromatic
#101F42 #1C3673 #284DA4 #3A67CF #6B8DDB

Accessibility & contrast

On white

7.81
#284DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#284DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DA4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DA4#FFFFFF#000000##FFFFFF
##284DA41.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284da4;
/* rgb */ color: rgb(40, 77, 164);
/* oklch */ color: oklch(44.5% 0.147 264.0);
Tailwind
colors: {
  custom: {
    50: '#747ec0',
    500: '#284da4',
    950: '#000000',
  },
}
SCSS
$custom: #284da4;
$custom-light: #747ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#284da4",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 222.097,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.14714,
    "h": 264
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#284DA4
secondary
#C1A666
accent
#B444E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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