#284986#284986

#284986 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.109 H 261.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#284986
RGBrgb(40, 73, 134)
HSLhsl(219, 54%, 34%)
HSVhsv(219, 70%, 53%)
CMYKcmyk(70.1%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.66, 9.58, -37.77)
CIE-LCHlch(31.66, 38.97, 284.23°)
OKLaboklab(41.4% -0.0161 -0.108)
OKLCHoklch(41.4% 0.109 261.5)
XYZxyz(7.5592, 6.9367, 23.4902)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284986 #866528
analogous
#287886 #284986 #362886
triadic
#284986 #862849 #498628
tetradic
#284986 #862878 #866528 #288636
square
#284986 #862878 #866528 #288636
split-complementary
#284986 #863628 #788628
monochromatic
#0C1628 #1A2F57 #284986 #3663B5 #5B83CE

Accessibility & contrast

On white

8.80
#284986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#284986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284986
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284986#FFFFFF#000000##FFFFFF
##2849861.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F88
Deuteranopia (green-blind)
#1B4685
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284986;
/* rgb */ color: rgb(40, 73, 134);
/* oklch */ color: oklch(41.4% 0.109 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d7baa',
    500: '#284986',
    950: '#000000',
  },
}
SCSS
$custom: #284986;
$custom-light: #6d7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#284986",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 218.936,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.10918,
    "h": 261.5
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#284986
secondary
#B39357
accent
#AA4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284986

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

Preview Lab → · Contrast checker → · Palette generator →

#284986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva