#284EA6#284EA6

#284EA6 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.149 H 263.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#284EA6
RGBrgb(40, 78, 166)
HSLhsl(222, 61%, 40%)
HSVhsv(222, 76%, 65%)
CMYKcmyk(75.9%, 53%, 0%, 34.9%)
CIE-LABlab(35.31, 18.62, -51.34)
CIE-LCHlch(35.31, 54.61, 289.93°)
OKLaboklab(44.88% -0.016 -0.1478)
OKLCHoklch(44.88% 0.149 263.8)
XYZxyz(10.4800, 8.6519, 37.1867)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EA6 #A68028
analogous
#288DA6 #284EA6 #4128A6
triadic
#284EA6 #A6284E #4EA628
tetradic
#284EA6 #A6288D #A68028 #28A641
square
#284EA6 #A6288D #A68028 #28A641
split-complementary
#284EA6 #A64128 #8DA628
monochromatic
#102043 #1C3775 #284EA6 #3B68D0 #6D8EDC

Accessibility & contrast

On white

7.69
#284EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#284EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EA6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EA6#FFFFFF#000000##FFFFFF
##284EA61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284ea6;
/* rgb */ color: rgb(40, 78, 166);
/* oklch */ color: oklch(44.9% 0.149 263.8);
Tailwind
colors: {
  custom: {
    50: '#747fc1',
    500: '#284ea6',
    950: '#000000',
  },
}
SCSS
$custom: #284ea6;
$custom-light: #747fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#284ea6",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 221.905,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.14867,
    "h": 263.8
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#284EA6
secondary
#C2A767
accent
#B444E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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