#282177#282177

#282177 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.140 H 278.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#282177
RGBrgb(40, 33, 119)
HSLhsl(245, 57%, 30%)
HSVhsv(245, 72%, 47%)
CMYKcmyk(66.4%, 72.3%, 0%, 53.3%)
CIE-LABlab(19.52, 31.05, -48.02)
CIE-LCHlch(19.52, 57.19, 302.88°)
OKLaboklab(31.94% 0.0208 -0.1385)
OKLCHoklch(31.94% 0.14 278.5)
XYZxyz(4.7476, 2.8704, 17.7530)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282177 #707721
analogous
#214577 #282177 #532177
triadic
#282177 #772821 #217728
tetradic
#282177 #772145 #707721 #217753
square
#282177 #772145 #707721 #217753
split-complementary
#282177 #775321 #457721
monochromatic
#080718 #181447 #282177 #382EA7 #5147CC

Accessibility & contrast

On white

13.34
#282177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282177
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282177#FFFFFF#000000##FFFFFF
##2821771.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282177;
/* rgb */ color: rgb(40, 33, 119);
/* oklch */ color: oklch(31.9% 0.140 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d5d9f',
    500: '#282177',
    950: '#000000',
  },
}
SCSS
$custom: #282177;
$custom-light: #6d5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#282177",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 244.884,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3194,
    "c": 0.1401,
    "h": 278.5
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#282177
secondary
#A2AA4A
accent
#E048D3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #282177

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

Preview Lab → · Contrast checker → · Palette generator →

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