#284CA9#284CA9

#284CA9 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.155 H 264.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#284CA9
RGBrgb(40, 76, 169)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 76%, 66%)
CMYKcmyk(76.3%, 55%, 0%, 33.7%)
CIE-LABlab(34.97, 21.11, -53.68)
CIE-LCHlch(34.97, 57.68, 291.47°)
OKLaboklab(44.7% -0.0141 -0.1547)
OKLCHoklch(44.7% 0.155 264.8)
XYZxyz(10.6184, 8.4834, 38.6063)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA9 #A98528
analogous
#288CA9 #284CA9 #4528A9
triadic
#284CA9 #A9284C #4CA928
tetradic
#284CA9 #A9288C #A98528 #28A945
square
#284CA9 #A9288C #A98528 #28A945
split-complementary
#284CA9 #A94528 #8CA928
monochromatic
#111F46 #1C3678 #284CA9 #3D66D1 #6F8DDD

Accessibility & contrast

On white

7.79
#284CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284CA9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA9#FFFFFF#000000##FFFFFF
##284CA91.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284ca9;
/* rgb */ color: rgb(40, 76, 169);
/* oklch */ color: oklch(44.7% 0.155 264.8);
Tailwind
colors: {
  custom: {
    50: '#757dc3',
    500: '#284ca9',
    950: '#000000',
  },
}
SCSS
$custom: #284ca9;
$custom-light: #757dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca9",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 223.256,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.15535,
    "h": 264.8
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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