#284DA9#284DA9

#284DA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.154 H 264.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#284DA9
RGBrgb(40, 77, 169)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 76%, 66%)
CMYKcmyk(76.3%, 54.4%, 0%, 33.7%)
CIE-LABlab(35.25, 20.44, -53.23)
CIE-LCHlch(35.25, 57.02, 291.01°)
OKLaboklab(44.91% -0.0149 -0.1534)
OKLCHoklch(44.91% 0.154 264.5)
XYZxyz(10.6878, 8.6223, 38.6294)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DA9 #A98428
analogous
#288DA9 #284DA9 #4428A9
triadic
#284DA9 #A9284D #4DA928
tetradic
#284DA9 #A9288D #A98428 #28A944
square
#284DA9 #A9288D #A98428 #28A944
split-complementary
#284DA9 #A94428 #8DA928
monochromatic
#112046 #1C3678 #284DA9 #3D68D1 #6F8EDD

Accessibility & contrast

On white

7.71
#284DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#284DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DA9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DA9#FFFFFF#000000##FFFFFF
##284DA91.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284da9;
/* rgb */ color: rgb(40, 77, 169);
/* oklch */ color: oklch(44.9% 0.154 264.5);
Tailwind
colors: {
  custom: {
    50: '#757ec3',
    500: '#284da9',
    950: '#000000',
  },
}
SCSS
$custom: #284da9;
$custom-light: #757ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#284da9",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 222.791,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.15409,
    "h": 264.5
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#284DA9
secondary
#C4AA69
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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