#284173#284173

#284173 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.091 H 262.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#284173
RGBrgb(40, 65, 115)
HSLhsl(220, 48%, 30%)
HSVhsv(220, 65%, 45%)
CMYKcmyk(65.2%, 43.5%, 0%, 54.9%)
CIE-LABlab(28.03, 7.72, -31.70)
CIE-LCHlch(28.03, 32.63, 283.69°)
OKLaboklab(38.21% -0.0114 -0.0903)
OKLCHoklch(38.21% 0.091 262.8)
XYZxyz(5.8588, 5.4690, 16.9632)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284173 #735A28
analogous
#286673 #284173 #342873
triadic
#284173 #732841 #417328
tetradic
#284173 #732866 #735A28 #287334
square
#284173 #732866 #735A28 #287334
split-complementary
#284173 #733428 #667328
monochromatic
#080E18 #182746 #284173 #385BA0 #5278C3

Accessibility & contrast

On white

10.03
#284173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#284173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284173
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284173#FFFFFF#000000##FFFFFF
##2841731.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#203F72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284173;
/* rgb */ color: rgb(40, 65, 115);
/* oklch */ color: oklch(38.2% 0.091 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a759b',
    500: '#284173',
    950: '#000000',
  },
}
SCSS
$custom: #284173;
$custom-light: #6a759b;
$custom-dark: #000000;
JSON
{
  "hex": "#284173",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 220,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38209,
    "c": 0.09099,
    "h": 262.8
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#284173
secondary
#A58952
accent
#AB50D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284173

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

Preview Lab → · Contrast checker → · Palette generator →

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