#284686#284686

#284686 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.113 H 263.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#284686
RGBrgb(40, 70, 134)
HSLhsl(221, 54%, 34%)
HSVhsv(221, 70%, 53%)
CMYKcmyk(70.1%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.76, 11.61, -39.21)
CIE-LCHlch(30.76, 40.90, 286.49°)
OKLaboklab(40.71% -0.0131 -0.1123)
OKLCHoklch(40.71% 0.113 263.4)
XYZxyz(7.3668, 6.5519, 23.4260)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284686 #866828
analogous
#287586 #284686 #392886
triadic
#284686 #862846 #468628
tetradic
#284686 #862875 #866828 #288639
square
#284686 #862875 #866828 #288639
split-complementary
#284686 #863928 #758628
monochromatic
#0C1528 #1A2D57 #284686 #365FB5 #5B7FCE

Accessibility & contrast

On white

9.09
#284686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284686
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284686#FFFFFF#000000##FFFFFF
##2846861.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284686;
/* rgb */ color: rgb(40, 70, 134);
/* oklch */ color: oklch(40.7% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e79aa',
    500: '#284686',
    950: '#000000',
  },
}
SCSS
$custom: #284686;
$custom-light: #6e79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284686",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 220.851,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.11302,
    "h": 263.4
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#284686
secondary
#B39657
accent
#AE4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284686

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

Preview Lab → · Contrast checker → · Palette generator →

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