#284EA9#284EA9

#284EA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.153 H 264.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#284EA9
RGBrgb(40, 78, 169)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 76%, 66%)
CMYKcmyk(76.3%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.52, 19.78, -52.78)
CIE-LCHlch(35.52, 56.36, 290.54°)
OKLaboklab(45.12% -0.0157 -0.152)
OKLCHoklch(45.12% 0.153 264.1)
XYZxyz(10.7584, 8.7633, 38.6529)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EA9 #A98328
analogous
#288EA9 #284EA9 #4328A9
triadic
#284EA9 #A9284E #4EA928
tetradic
#284EA9 #A9288E #A98328 #28A943
square
#284EA9 #A9288E #A98328 #28A943
split-complementary
#284EA9 #A94328 #8EA928
monochromatic
#112046 #1C3778 #284EA9 #3D69D1 #6F8FDD

Accessibility & contrast

On white

7.63
#284EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#284EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EA9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EA9#FFFFFF#000000##FFFFFF
##284EA91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284ea9;
/* rgb */ color: rgb(40, 78, 169);
/* oklch */ color: oklch(45.1% 0.153 264.1);
Tailwind
colors: {
  custom: {
    50: '#757fc3',
    500: '#284ea9',
    950: '#000000',
  },
}
SCSS
$custom: #284ea9;
$custom-light: #757fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284ea9",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 222.326,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.15284,
    "h": 264.1
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#284EA9
secondary
#C4A969
accent
#B543E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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