#284286#284286

#284286 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.118 H 265.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#284286
RGBrgb(40, 66, 134)
HSLhsl(223, 54%, 34%)
HSVhsv(223, 70%, 53%)
CMYKcmyk(70.1%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.58, 14.34, -41.11)
CIE-LCHlch(29.58, 43.54, 289.23°)
OKLaboklab(39.8% -0.0091 -0.1179)
OKLCHoklch(39.8% 0.118 265.6)
XYZxyz(7.1249, 6.0681, 23.3454)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284286 #866C28
analogous
#287186 #284286 #3D2886
triadic
#284286 #862842 #428628
tetradic
#284286 #862871 #866C28 #28863D
square
#284286 #862871 #866C28 #28863D
split-complementary
#284286 #863D28 #718628
monochromatic
#0C1428 #1A2B57 #284286 #3659B5 #5B7ACE

Accessibility & contrast

On white

9.49
#284286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#284286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284286
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284286#FFFFFF#000000##FFFFFF
##2842861.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#014285
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284286;
/* rgb */ color: rgb(40, 66, 134);
/* oklch */ color: oklch(39.8% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e75aa',
    500: '#284286',
    950: '#000000',
  },
}
SCSS
$custom: #284286;
$custom-light: #6e75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284286",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 223.404,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.11826,
    "h": 265.6
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#284286
secondary
#B39A57
accent
#B54ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284286

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

Preview Lab → · Contrast checker → · Palette generator →

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