#284CA8#284CA8

#284CA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.154 H 264.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#284CA8
RGBrgb(40, 76, 168)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 76%, 66%)
CMYKcmyk(76.2%, 54.8%, 0%, 34.1%)
CIE-LABlab(34.90, 20.73, -53.20)
CIE-LCHlch(34.90, 57.10, 291.29°)
OKLaboklab(44.62% -0.0142 -0.1533)
OKLCHoklch(44.62% 0.154 264.7)
XYZxyz(10.5249, 8.4460, 38.1137)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA8 #A88428
analogous
#288CA8 #284CA8 #4428A8
triadic
#284CA8 #A8284C #4CA828
tetradic
#284CA8 #A8288C #A88428 #28A844
square
#284CA8 #A8288C #A88428 #28A844
split-complementary
#284CA8 #A84428 #8CA828
monochromatic
#101F45 #1C3677 #284CA8 #3D66D1 #6E8DDC

Accessibility & contrast

On white

7.81
#284CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#284CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA8#FFFFFF#000000##FFFFFF
##284CA81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284ca8;
/* rgb */ color: rgb(40, 76, 168);
/* oklch */ color: oklch(44.6% 0.154 264.7);
Tailwind
colors: {
  custom: {
    50: '#757dc3',
    500: '#284ca8',
    950: '#000000',
  },
}
SCSS
$custom: #284ca8;
$custom-light: #757dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca8",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 223.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.15397,
    "h": 264.7
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#284CA8
secondary
#C3AA69
accent
#B743E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #284CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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