#284471#284471

#284471 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.084 H 259.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#284471
RGBrgb(40, 68, 113)
HSLhsl(217, 48%, 30%)
HSVhsv(217, 65%, 44%)
CMYKcmyk(64.6%, 39.8%, 0%, 55.7%)
CIE-LABlab(28.84, 4.93, -29.15)
CIE-LCHlch(28.84, 29.56, 279.60°)
OKLaboklab(38.8% -0.0154 -0.0827)
OKLCHoklch(38.8% 0.084 259.5)
XYZxyz(5.9218, 5.7771, 16.4226)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284471 #715528
analogous
#286971 #284471 #302871
triadic
#284471 #712844 #447128
tetradic
#284471 #712869 #715528 #287130
square
#284471 #712869 #715528 #287130
split-complementary
#284471 #713028 #697128
monochromatic
#080E17 #182944 #284471 #385F9E #527DC2

Accessibility & contrast

On white

9.74
#284471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284471
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284471#FFFFFF#000000##FFFFFF
##2844711.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284471;
/* rgb */ color: rgb(40, 68, 113);
/* oklch */ color: oklch(38.8% 0.084 259.5);
Tailwind
colors: {
  custom: {
    50: '#69779a',
    500: '#284471',
    950: '#000000',
  },
}
SCSS
$custom: #284471;
$custom-light: #69779a;
$custom-dark: #000000;
JSON
{
  "hex": "#284471",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 216.986,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.08415,
    "h": 259.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#284471
secondary
#A38452
accent
#A450D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284471

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

Preview Lab → · Contrast checker → · Palette generator →

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