#284CAA#284CAA

#284CAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.157 H 264.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#284CAA
RGBrgb(40, 76, 170)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 76%, 67%)
CMYKcmyk(76.5%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.05, 21.50, -54.15)
CIE-LCHlch(35.05, 58.26, 291.65°)
OKLaboklab(44.78% -0.0141 -0.1561)
OKLCHoklch(44.78% 0.157 264.9)
XYZxyz(10.7126, 8.5211, 39.1026)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CAA #AA8628
analogous
#288DAA #284CAA #4528AA
triadic
#284CAA #AA284C #4CAA28
tetradic
#284CAA #AA288D #AA8628 #28AA45
square
#284CAA #AA288D #AA8628 #28AA45
split-complementary
#284CAA #AA4528 #8DAA28
monochromatic
#112047 #1C3678 #284CAA #3E67D2 #6F8EDD

Accessibility & contrast

On white

7.77
#284CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#284CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CAA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CAA#FFFFFF#000000##FFFFFF
##284CAA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284caa;
/* rgb */ color: rgb(40, 76, 170);
/* oklch */ color: oklch(44.8% 0.157 264.9);
Tailwind
colors: {
  custom: {
    50: '#757dc4',
    500: '#284caa',
    950: '#000000',
  },
}
SCSS
$custom: #284caa;
$custom-light: #757dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#284caa",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 223.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.15674,
    "h": 264.9
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#284CAA
secondary
#C4AB6A
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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