#284DAE#284DAE

#284DAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.161 H 264.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#284DAE
RGBrgb(40, 77, 174)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 77%, 68%)
CMYKcmyk(77%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.62, 22.37, -55.59)
CIE-LCHlch(35.62, 59.93, 291.92°)
OKLaboklab(45.31% -0.0145 -0.1603)
OKLCHoklch(45.31% 0.161 264.8)
XYZxyz(11.1662, 8.8136, 41.1489)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DAE #AE8928
analogous
#2890AE #284DAE #4628AE
triadic
#284DAE #AE284D #4DAE28
tetradic
#284DAE #AE2890 #AE8928 #28AE46
square
#284DAE #AE2890 #AE8928 #28AE46
split-complementary
#284DAE #AE4628 #90AE28
monochromatic
#11214A #1D377C #284DAE #4069D3 #7290DF

Accessibility & contrast

On white

7.60
#284DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#284DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DAE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DAE#FFFFFF#000000##FFFFFF
##284DAE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284dae;
/* rgb */ color: rgb(40, 77, 174);
/* oklch */ color: oklch(45.3% 0.161 264.8);
Tailwind
colors: {
  custom: {
    50: '#767ec7',
    500: '#284dae',
    950: '#000000',
  },
}
SCSS
$custom: #284dae;
$custom-light: #767ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#284dae",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 223.433,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.16099,
    "h": 264.8
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#284DAE
secondary
#C6AD6C
accent
#B942E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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