#284DA1#284DA1

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

Color values

HEX#284DA1
RGBrgb(40, 77, 161)
HSLhsl(222, 60%, 39%)
HSVhsv(222, 75%, 63%)
CMYKcmyk(75.2%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.66, 17.35, -49.39)
CIE-LCHlch(34.66, 52.34, 289.36°)
OKLaboklab(44.28% -0.0157 -0.1421)
OKLCHoklch(44.28% 0.143 263.7)
XYZxyz(9.9597, 8.3310, 34.7944)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DA1 #A17C28
analogous
#288AA1 #284DA1 #4028A1
triadic
#284DA1 #A1284D #4DA128
tetradic
#284DA1 #A1288A #A17C28 #28A140
square
#284DA1 #A1288A #A17C28 #28A140
split-complementary
#284DA1 #A14028 #8AA128
monochromatic
#101E3F #1C3670 #284DA1 #3966CE #6A8CDA

Accessibility & contrast

On white

7.88
#284DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#284DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DA1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DA1#FFFFFF#000000##FFFFFF
##284DA11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284da1;
/* rgb */ color: rgb(40, 77, 161);
/* oklch */ color: oklch(44.3% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#737ebd',
    500: '#284da1',
    950: '#000000',
  },
}
SCSS
$custom: #284da1;
$custom-light: #737ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#284da1",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 221.653,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.14293,
    "h": 263.7
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#284DA1
secondary
#C0A465
accent
#B344E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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