#284B99#284B99

#284B99 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.134 H 263.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#284B99
RGBrgb(40, 75, 153)
HSLhsl(221, 59%, 38%)
HSVhsv(221, 74%, 60%)
CMYKcmyk(73.9%, 51%, 0%, 40%)
CIE-LABlab(33.53, 15.59, -46.40)
CIE-LCHlch(33.53, 48.95, 288.58°)
OKLaboklab(43.23% -0.015 -0.1333)
OKLCHoklch(43.23% 0.134 263.6)
XYZxyz(9.1389, 7.7822, 31.1513)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B99 #997628
analogous
#288399 #284B99 #3E2899
triadic
#284B99 #99284B #4B9928
tetradic
#284B99 #992883 #997628 #28993E
square
#284B99 #992883 #997628 #28993E
split-complementary
#284B99 #993E28 #839928
monochromatic
#0F1B38 #1B3368 #284B99 #3563CA #6588D7

Accessibility & contrast

On white

8.21
#284B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#284B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B99
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B99#FFFFFF#000000##FFFFFF
##284B991.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284b99;
/* rgb */ color: rgb(40, 75, 153);
/* oklch */ color: oklch(43.2% 0.134 263.6);
Tailwind
colors: {
  custom: {
    50: '#727cb8',
    500: '#284b99',
    950: '#000000',
  },
}
SCSS
$custom: #284b99;
$custom-light: #727cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#284b99",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 221.416,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43233,
    "c": 0.13415,
    "h": 263.6
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#284B99
secondary
#BDA060
accent
#B246E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284B99

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

Preview Lab → · Contrast checker → · Palette generator →

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