#284B86#284B86

#284B86 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.107 H 260.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#284B86
RGBrgb(40, 75, 134)
HSLhsl(218, 54%, 34%)
HSVhsv(218, 70%, 53%)
CMYKcmyk(70.1%, 44%, 0%, 47.5%)
CIE-LABlab(32.27, 8.24, -36.81)
CIE-LCHlch(32.27, 37.72, 282.61°)
OKLaboklab(41.86% -0.0182 -0.1051)
OKLCHoklch(41.86% 0.107 260.2)
XYZxyz(7.6927, 7.2037, 23.5347)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B86 #866328
analogous
#287A86 #284B86 #342886
triadic
#284B86 #86284B #4B8628
tetradic
#284B86 #86287A #866328 #288634
square
#284B86 #86287A #866328 #288634
split-complementary
#284B86 #863428 #7A8628
monochromatic
#0C1628 #1A3157 #284B86 #3665B5 #5B85CE

Accessibility & contrast

On white

8.60
#284B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#284B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B86
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B86#FFFFFF#000000##FFFFFF
##284B861.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5188
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284b86;
/* rgb */ color: rgb(40, 75, 134);
/* oklch */ color: oklch(41.9% 0.107 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#284b86',
    950: '#000000',
  },
}
SCSS
$custom: #284b86;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#284b86",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 217.66,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.10667,
    "h": 260.2
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#284B86
secondary
#B39157
accent
#A74ADD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284B86

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

Preview Lab → · Contrast checker → · Palette generator →

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