#284CA1#284CA1

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

Color values

HEX#284CA1
RGBrgb(40, 76, 161)
HSLhsl(222, 60%, 39%)
HSVhsv(222, 75%, 63%)
CMYKcmyk(75.2%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.38, 18.02, -49.84)
CIE-LCHlch(34.38, 53.00, 289.88°)
OKLaboklab(44.07% -0.0149 -0.1434)
OKLCHoklch(44.07% 0.144 264.1)
XYZxyz(9.8903, 8.1921, 34.7713)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA1 #A17D28
analogous
#2889A1 #284CA1 #4128A1
triadic
#284CA1 #A1284C #4CA128
tetradic
#284CA1 #A12889 #A17D28 #28A141
square
#284CA1 #A12889 #A17D28 #28A141
split-complementary
#284CA1 #A14128 #89A128
monochromatic
#101E3F #1C3570 #284CA1 #3965CE #6A8BDA

Accessibility & contrast

On white

7.96
#284CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#284CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA1#FFFFFF#000000##FFFFFF
##284CA11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ca1;
/* rgb */ color: rgb(40, 76, 161);
/* oklch */ color: oklch(44.1% 0.144 264.1);
Tailwind
colors: {
  custom: {
    50: '#737dbd',
    500: '#284ca1',
    950: '#000000',
  },
}
SCSS
$custom: #284ca1;
$custom-light: #737dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca1",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 222.149,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.1442,
    "h": 264.1
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#284CA1
secondary
#C0A565
accent
#B444E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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