#284CA2#284CA2

#284CA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.146 H 264.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#284CA2
RGBrgb(40, 76, 162)
HSLhsl(222, 60%, 40%)
HSVhsv(222, 75%, 64%)
CMYKcmyk(75.3%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.45, 18.41, -50.33)
CIE-LCHlch(34.45, 53.59, 290.09°)
OKLaboklab(44.14% -0.0148 -0.1448)
OKLCHoklch(44.14% 0.146 264.2)
XYZxyz(9.9788, 8.2275, 35.2376)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA2 #A27E28
analogous
#2889A2 #284CA2 #4128A2
triadic
#284CA2 #A2284C #4CA228
tetradic
#284CA2 #A22889 #A27E28 #28A241
square
#284CA2 #A22889 #A27E28 #28A241
split-complementary
#284CA2 #A24128 #89A228
monochromatic
#101E40 #1C3571 #284CA2 #3965CE #6A8BDA

Accessibility & contrast

On white

7.94
#284CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#284CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA2#FFFFFF#000000##FFFFFF
##284CA21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ca2;
/* rgb */ color: rgb(40, 76, 162);
/* oklch */ color: oklch(44.1% 0.146 264.2);
Tailwind
colors: {
  custom: {
    50: '#747dbe',
    500: '#284ca2',
    950: '#000000',
  },
}
SCSS
$custom: #284ca2;
$custom-light: #747dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca2",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 222.295,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.1456,
    "h": 264.2
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#284CA2
secondary
#C1A665
accent
#B544E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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