#284CA0#284CA0

#284CA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.143 H 264.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#284CA0
RGBrgb(40, 76, 160)
HSLhsl(222, 60%, 39%)
HSVhsv(222, 75%, 63%)
CMYKcmyk(75%, 52.5%, 0%, 37.3%)
CIE-LABlab(34.31, 17.63, -49.36)
CIE-LCHlch(34.31, 52.41, 289.66°)
OKLaboklab(43.99% -0.015 -0.142)
OKLCHoklch(43.99% 0.143 264)
XYZxyz(9.8024, 8.1570, 34.3087)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA0 #A07C28
analogous
#2888A0 #284CA0 #4028A0
triadic
#284CA0 #A0284C #4CA028
tetradic
#284CA0 #A02888 #A07C28 #28A040
square
#284CA0 #A02888 #A07C28 #28A040
split-complementary
#284CA0 #A04028 #88A028
monochromatic
#101D3E #1C356F #284CA0 #3865CD #698BD9

Accessibility & contrast

On white

7.98
#284CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#284CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA0
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA0#FFFFFF#000000##FFFFFF
##284CA01.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ca0;
/* rgb */ color: rgb(40, 76, 160);
/* oklch */ color: oklch(44.0% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#737dbd',
    500: '#284ca0',
    950: '#000000',
  },
}
SCSS
$custom: #284ca0;
$custom-light: #737dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca0",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 222,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.1428,
    "h": 264
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#284CA0
secondary
#C0A464
accent
#B445E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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