#284473#284473

#284473 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.087 H 260.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#284473
RGBrgb(40, 68, 115)
HSLhsl(218, 48%, 30%)
HSVhsv(218, 65%, 45%)
CMYKcmyk(65.2%, 40.9%, 0%, 54.9%)
CIE-LABlab(28.96, 5.68, -30.22)
CIE-LCHlch(28.96, 30.75, 280.65°)
OKLaboklab(38.93% -0.0149 -0.0859)
OKLCHoklch(38.93% 0.087 260.2)
XYZxyz(6.0356, 5.8226, 17.0221)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284473 #735728
analogous
#286973 #284473 #312873
triadic
#284473 #732844 #447328
tetradic
#284473 #732869 #735728 #287331
square
#284473 #732869 #735728 #287331
split-complementary
#284473 #733128 #697328
monochromatic
#080E18 #182946 #284473 #385FA0 #527CC3

Accessibility & contrast

On white

9.70
#284473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284473
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284473#FFFFFF#000000##FFFFFF
##2844731.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284473;
/* rgb */ color: rgb(40, 68, 115);
/* oklch */ color: oklch(38.9% 0.087 260.2);
Tailwind
colors: {
  custom: {
    50: '#6a779b',
    500: '#284473',
    950: '#000000',
  },
}
SCSS
$custom: #284473;
$custom-light: #6a779b;
$custom-dark: #000000;
JSON
{
  "hex": "#284473",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 115
  },
  "hsl": {
    "h": 217.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.08718,
    "h": 260.2
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#284473
secondary
#A58652
accent
#A550D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284473

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

Preview Lab → · Contrast checker → · Palette generator →

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