#284176#284176

#284176 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.096 H 263.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#284176
RGBrgb(40, 65, 118)
HSLhsl(221, 49%, 31%)
HSVhsv(221, 66%, 46%)
CMYKcmyk(66.1%, 44.9%, 0%, 53.7%)
CIE-LABlab(28.22, 8.87, -33.30)
CIE-LCHlch(28.22, 34.46, 284.91°)
OKLaboklab(38.42% -0.0108 -0.095)
OKLCHoklch(38.42% 0.096 263.5)
XYZxyz(6.0342, 5.5392, 17.8872)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284176 #765D28
analogous
#286876 #284176 #362876
triadic
#284176 #762841 #417628
tetradic
#284176 #762868 #765D28 #287636
square
#284176 #762868 #765D28 #287636
split-complementary
#284176 #763628 #687628
monochromatic
#090F1B #192848 #284176 #375AA4 #5478C5

Accessibility & contrast

On white

9.96
#284176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284176
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284176#FFFFFF#000000##FFFFFF
##2841761.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294678
Deuteranopia (green-blind)
#1D3F75
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284176;
/* rgb */ color: rgb(40, 65, 118);
/* oklch */ color: oklch(38.4% 0.096 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a759e',
    500: '#284176',
    950: '#000000',
  },
}
SCSS
$custom: #284176;
$custom-light: #6a759e;
$custom-dark: #000000;
JSON
{
  "hex": "#284176",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 118
  },
  "hsl": {
    "h": 220.769,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38415,
    "c": 0.09556,
    "h": 263.5
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#284176
secondary
#A88C52
accent
#AD4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284176

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

Preview Lab → · Contrast checker → · Palette generator →

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