#284CA3#284CA3

#284CA3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.147 H 264.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#284CA3
RGBrgb(40, 76, 163)
HSLhsl(222, 61%, 40%)
HSVhsv(222, 75%, 64%)
CMYKcmyk(75.5%, 53.4%, 0%, 36.1%)
CIE-LABlab(34.53, 18.80, -50.81)
CIE-LCHlch(34.53, 54.17, 290.30°)
OKLaboklab(44.22% -0.0147 -0.1463)
OKLCHoklch(44.22% 0.147 264.3)
XYZxyz(10.0680, 8.2632, 35.7076)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA3 #A37F28
analogous
#288AA3 #284CA3 #4228A3
triadic
#284CA3 #A3284C #4CA328
tetradic
#284CA3 #A3288A #A37F28 #28A342
square
#284CA3 #A3288A #A37F28 #28A342
split-complementary
#284CA3 #A34228 #8AA328
monochromatic
#101E41 #1C3572 #284CA3 #3A65CF #6B8CDB

Accessibility & contrast

On white

7.92
#284CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284CA3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA3#FFFFFF#000000##FFFFFF
##284CA31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ca3;
/* rgb */ color: rgb(40, 76, 163);
/* oklch */ color: oklch(44.2% 0.147 264.3);
Tailwind
colors: {
  custom: {
    50: '#747dbf',
    500: '#284ca3',
    950: '#000000',
  },
}
SCSS
$custom: #284ca3;
$custom-light: #747dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca3",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 222.439,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.147,
    "h": 264.3
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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