#284487#284487

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

Color values

HEX#284487
RGBrgb(40, 68, 135)
HSLhsl(222, 54%, 34%)
HSVhsv(222, 70%, 53%)
CMYKcmyk(70.4%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.24, 13.36, -40.68)
CIE-LCHlch(30.24, 42.81, 288.18°)
OKLaboklab(40.33% -0.0109 -0.1166)
OKLCHoklch(40.33% 0.117 264.6)
XYZxyz(7.3138, 6.3339, 23.7541)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284487 #876B28
analogous
#287487 #284487 #3C2887
triadic
#284487 #872844 #448728
tetradic
#284487 #872874 #876B28 #28873C
square
#284487 #872874 #876B28 #28873C
split-complementary
#284487 #873C28 #748728
monochromatic
#0C1429 #1A2C58 #284487 #365CB6 #5B7DCE

Accessibility & contrast

On white

9.26
#284487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#284487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284487
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284487#FFFFFF#000000##FFFFFF
##2844871.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#084386
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284487;
/* rgb */ color: rgb(40, 68, 135);
/* oklch */ color: oklch(40.3% 0.117 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e77aa',
    500: '#284487',
    950: '#000000',
  },
}
SCSS
$custom: #284487;
$custom-light: #6e77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284487",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 222.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.11711,
    "h": 264.6
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#284487
secondary
#B49857
accent
#B24ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284487

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

Preview Lab → · Contrast checker → · Palette generator →

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