#284D91#284D91

#284D91 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.120 H 261.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#284D91
RGBrgb(40, 77, 145)
HSLhsl(219, 57%, 36%)
HSVhsv(219, 72%, 57%)
CMYKcmyk(72.4%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.57, 11.15, -41.47)
CIE-LCHlch(33.57, 42.94, 285.04°)
OKLaboklab(43.09% -0.018 -0.1188)
OKLCHoklch(43.09% 0.12 261.4)
XYZxyz(8.6380, 7.8023, 27.8333)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D91 #916C28
analogous
#288291 #284D91 #382891
triadic
#284D91 #91284D #4D9128
tetradic
#284D91 #912882 #916C28 #289138
square
#284D91 #912882 #916C28 #289138
split-complementary
#284D91 #913828 #829128
monochromatic
#0E1A31 #1B3461 #284D91 #3566C1 #6089D3

Accessibility & contrast

On white

8.20
#284D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284D91
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D91#FFFFFF#000000##FFFFFF
##284D911.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#144A90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284d91;
/* rgb */ color: rgb(40, 77, 145);
/* oklch */ color: oklch(43.1% 0.120 261.4);
Tailwind
colors: {
  custom: {
    50: '#707eb2',
    500: '#284d91',
    950: '#000000',
  },
}
SCSS
$custom: #284d91;
$custom-light: #707eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284d91",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 218.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.12013,
    "h": 261.4
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#284D91
secondary
#B9985C
accent
#AA48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284D91

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

Preview Lab → · Contrast checker → · Palette generator →

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