#284A91#284A91

#284A91 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.124 H 263.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#284A91
RGBrgb(40, 74, 145)
HSLhsl(221, 57%, 36%)
HSVhsv(221, 72%, 57%)
CMYKcmyk(72.4%, 49%, 0%, 43.1%)
CIE-LABlab(32.68, 13.16, -42.89)
CIE-LCHlch(32.68, 44.86, 287.06°)
OKLaboklab(42.41% -0.0152 -0.123)
OKLCHoklch(42.41% 0.124 263)
XYZxyz(8.4329, 7.3921, 27.7650)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A91 #916F28
analogous
#287F91 #284A91 #3A2891
triadic
#284A91 #91284A #4A9128
tetradic
#284A91 #91287F #916F28 #28913A
square
#284A91 #91287F #916F28 #28913A
split-complementary
#284A91 #913A28 #7F9128
monochromatic
#0E1931 #1B3261 #284A91 #3562C1 #6085D3

Accessibility & contrast

On white

8.47
#284A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A91
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A91#FFFFFF#000000##FFFFFF
##284A911.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#074890
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a91;
/* rgb */ color: rgb(40, 74, 145);
/* oklch */ color: oklch(42.4% 0.124 263.0);
Tailwind
colors: {
  custom: {
    50: '#707cb2',
    500: '#284a91',
    950: '#000000',
  },
}
SCSS
$custom: #284a91;
$custom-light: #707cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284a91",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 220.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42414,
    "c": 0.12394,
    "h": 263
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#284A91
secondary
#B99B5C
accent
#AF48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284A91

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

Preview Lab → · Contrast checker → · Palette generator →

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