#284386#284386

#284386 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.117 H 265.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#284386
RGBrgb(40, 67, 134)
HSLhsl(223, 54%, 34%)
HSVhsv(223, 70%, 53%)
CMYKcmyk(70.1%, 50%, 0%, 47.5%)
CIE-LABlab(29.88, 13.66, -40.64)
CIE-LCHlch(29.88, 42.87, 288.57°)
OKLaboklab(40.03% -0.0101 -0.1165)
OKLCHoklch(40.03% 0.117 265)
XYZxyz(7.1838, 6.1859, 23.3651)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284386 #866B28
analogous
#287286 #284386 #3C2886
triadic
#284386 #862843 #438628
tetradic
#284386 #862872 #866B28 #28863C
square
#284386 #862872 #866B28 #28863C
split-complementary
#284386 #863C28 #728628
monochromatic
#0C1428 #1A2B57 #284386 #365BB5 #5B7CCE

Accessibility & contrast

On white

9.39
#284386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#284386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284386
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284386#FFFFFF#000000##FFFFFF
##2843861.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#064285
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284386;
/* rgb */ color: rgb(40, 67, 134);
/* oklch */ color: oklch(40.0% 0.117 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e76aa',
    500: '#284386',
    950: '#000000',
  },
}
SCSS
$custom: #284386;
$custom-light: #6e76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284386",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 222.766,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.11695,
    "h": 265
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#284386
secondary
#B39957
accent
#B34ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284386

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

Preview Lab → · Contrast checker → · Palette generator →

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