#284470#284470

#284470 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.7% C 0.083 H 259.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#284470
RGBrgb(40, 68, 112)
HSLhsl(217, 47%, 30%)
HSVhsv(217, 64%, 44%)
CMYKcmyk(64.3%, 39.3%, 0%, 56.1%)
CIE-LABlab(28.79, 4.55, -28.60)
CIE-LCHlch(28.79, 28.96, 279.04°)
OKLaboklab(38.74% -0.0156 -0.0812)
OKLCHoklch(38.74% 0.083 259.1)
XYZxyz(5.8658, 5.7547, 16.1277)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284470 #705428
analogous
#286870 #284470 #302870
triadic
#284470 #702844 #447028
tetradic
#284470 #702868 #705428 #287030
square
#284470 #702868 #705428 #287030
split-complementary
#284470 #703028 #687028
monochromatic
#080E17 #182943 #284470 #385F9D #517DC1

Accessibility & contrast

On white

9.76
#284470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#284470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284470
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284470#FFFFFF#000000##FFFFFF
##2844701.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314872
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284470;
/* rgb */ color: rgb(40, 68, 112);
/* oklch */ color: oklch(38.7% 0.083 259.1);
Tailwind
colors: {
  custom: {
    50: '#697799',
    500: '#284470',
    950: '#000000',
  },
}
SCSS
$custom: #284470;
$custom-light: #697799;
$custom-dark: #000000;
JSON
{
  "hex": "#284470",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 112
  },
  "hsl": {
    "h": 216.667,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.08265,
    "h": 259.1
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#284470
secondary
#A28351
accent
#A351D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284470

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

Preview Lab → · Contrast checker → · Palette generator →

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