#284177#284177

#284177 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.097 H 263.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#284177
RGBrgb(40, 65, 119)
HSLhsl(221, 50%, 31%)
HSVhsv(221, 66%, 47%)
CMYKcmyk(66.4%, 45.4%, 0%, 53.3%)
CIE-LABlab(28.28, 9.25, -33.83)
CIE-LCHlch(28.28, 35.07, 285.29°)
OKLaboklab(38.48% -0.0106 -0.0965)
OKLCHoklch(38.48% 0.097 263.7)
XYZxyz(6.0940, 5.5631, 18.2018)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284177 #775E28
analogous
#286877 #284177 #362877
triadic
#284177 #772841 #417728
tetradic
#284177 #772868 #775E28 #287736
square
#284177 #772868 #775E28 #287736
split-complementary
#284177 #773628 #687728
monochromatic
#090F1B #192849 #284177 #375AA5 #5478C5

Accessibility & contrast

On white

9.94
#284177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284177
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284177#FFFFFF#000000##FFFFFF
##2841771.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#1B3F76
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284177;
/* rgb */ color: rgb(40, 65, 119);
/* oklch */ color: oklch(38.5% 0.097 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b759e',
    500: '#284177',
    950: '#000000',
  },
}
SCSS
$custom: #284177;
$custom-light: #6b759e;
$custom-dark: #000000;
JSON
{
  "hex": "#284177",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 119
  },
  "hsl": {
    "h": 221.013,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.09709,
    "h": 263.7
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284177

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

Preview Lab → · Contrast checker → · Palette generator →

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