#284DA5#284DA5

#284DA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.149 H 264.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#284DA5
RGBrgb(40, 77, 165)
HSLhsl(222, 61%, 40%)
HSVhsv(222, 76%, 65%)
CMYKcmyk(75.8%, 53.3%, 0%, 35.3%)
CIE-LABlab(34.95, 18.90, -51.32)
CIE-LCHlch(34.95, 54.69, 290.22°)
OKLaboklab(44.59% -0.0153 -0.1477)
OKLCHoklch(44.59% 0.149 264.1)
XYZxyz(10.3181, 8.4743, 36.6819)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DA5 #A58028
analogous
#288BA5 #284DA5 #4128A5
triadic
#284DA5 #A5284D #4DA528
tetradic
#284DA5 #A5288B #A58028 #28A541
square
#284DA5 #A5288B #A58028 #28A541
split-complementary
#284DA5 #A54128 #8BA528
monochromatic
#101F42 #1C3674 #284DA5 #3B67CF #6C8DDB

Accessibility & contrast

On white

7.79
#284DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#284DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DA5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DA5#FFFFFF#000000##FFFFFF
##284DA51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284da5;
/* rgb */ color: rgb(40, 77, 165);
/* oklch */ color: oklch(44.6% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#747ec0',
    500: '#284da5',
    950: '#000000',
  },
}
SCSS
$custom: #284da5;
$custom-light: #747ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#284da5",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 222.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.14854,
    "h": 264.1
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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