#284E97#284E97

#284E97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.127 H 261.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#284E97
RGBrgb(40, 78, 151)
HSLhsl(219, 58%, 37%)
HSVhsv(219, 74%, 59%)
CMYKcmyk(73.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(34.26, 12.80, -44.00)
CIE-LCHlch(34.26, 45.83, 286.22°)
OKLaboklab(43.75% -0.0179 -0.1262)
OKLCHoklch(43.75% 0.127 261.9)
XYZxyz(9.1834, 8.1333, 30.3581)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E97 #977128
analogous
#288697 #284E97 #392897
triadic
#284E97 #97284E #4E9728
tetradic
#284E97 #972886 #977128 #289739
square
#284E97 #972886 #977128 #289739
split-complementary
#284E97 #973928 #869728
monochromatic
#0E1C36 #1B3567 #284E97 #3567C7 #648BD6

Accessibility & contrast

On white

7.99
#284E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#284E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E97
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E97#FFFFFF#000000##FFFFFF
##284E971.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284e97;
/* rgb */ color: rgb(40, 78, 151);
/* oklch */ color: oklch(43.8% 0.127 261.9);
Tailwind
colors: {
  custom: {
    50: '#717fb6',
    500: '#284e97',
    950: '#000000',
  },
}
SCSS
$custom: #284e97;
$custom-light: #717fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#284e97",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 219.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.12748,
    "h": 261.9
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#284E97
secondary
#BC9C5F
accent
#AC46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #284E97

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

Preview Lab → · Contrast checker → · Palette generator →

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