#284EA3#284EA3

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

Color values

HEX#284EA3
RGBrgb(40, 78, 163)
HSLhsl(221, 61%, 40%)
HSVhsv(221, 75%, 64%)
CMYKcmyk(75.5%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.09, 17.46, -49.90)
CIE-LCHlch(35.09, 52.86, 289.28°)
OKLaboklab(44.65% -0.0163 -0.1435)
OKLCHoklch(44.65% 0.144 263.5)
XYZxyz(10.2080, 8.5431, 35.7542)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EA3 #A37D28
analogous
#288CA3 #284EA3 #3F28A3
triadic
#284EA3 #A3284E #4EA328
tetradic
#284EA3 #A3288C #A37D28 #28A33F
square
#284EA3 #A3288C #A37D28 #28A33F
split-complementary
#284EA3 #A33F28 #8CA328
monochromatic
#101F41 #1C3672 #284EA3 #3A68CF #6B8DDB

Accessibility & contrast

On white

7.75
#284EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#284EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EA3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EA3#FFFFFF#000000##FFFFFF
##284EA31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284ea3;
/* rgb */ color: rgb(40, 78, 163);
/* oklch */ color: oklch(44.6% 0.144 263.5);
Tailwind
colors: {
  custom: {
    50: '#747fbf',
    500: '#284ea3',
    950: '#000000',
  },
}
SCSS
$custom: #284ea3;
$custom-light: #747fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#284ea3",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 221.463,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.14447,
    "h": 263.5
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#284EA3
secondary
#C1A566
accent
#B244E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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