#284486#284486

#284486 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.116 H 264.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#284486
RGBrgb(40, 68, 134)
HSLhsl(222, 54%, 34%)
HSVhsv(222, 70%, 53%)
CMYKcmyk(70.1%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.17, 12.97, -40.17)
CIE-LCHlch(30.17, 42.21, 287.90°)
OKLaboklab(40.25% -0.0111 -0.1151)
OKLCHoklch(40.25% 0.116 264.5)
XYZxyz(7.2438, 6.3059, 23.3850)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284486 #866A28
analogous
#287386 #284486 #3B2886
triadic
#284486 #862844 #448628
tetradic
#284486 #862873 #866A28 #28863B
square
#284486 #862873 #866A28 #28863B
split-complementary
#284486 #863B28 #738628
monochromatic
#0C1428 #1A2C57 #284486 #365CB5 #5B7DCE

Accessibility & contrast

On white

9.29
#284486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284486
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284486#FFFFFF#000000##FFFFFF
##2844861.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C88
Deuteranopia (green-blind)
#0B4385
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284486;
/* rgb */ color: rgb(40, 68, 134);
/* oklch */ color: oklch(40.3% 0.116 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e77aa',
    500: '#284486',
    950: '#000000',
  },
}
SCSS
$custom: #284486;
$custom-light: #6e77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284486",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 222.128,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.11563,
    "h": 264.5
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#284486
secondary
#B39857
accent
#B24ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284486

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

Preview Lab → · Contrast checker → · Palette generator →

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