#282176#282176

#282176 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.139 H 278.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#282176
RGBrgb(40, 33, 118)
HSLhsl(245, 56%, 30%)
HSVhsv(245, 72%, 46%)
CMYKcmyk(66.1%, 72%, 0%, 53.7%)
CIE-LABlab(19.42, 30.70, -47.55)
CIE-LCHlch(19.42, 56.60, 302.85°)
OKLaboklab(31.84% 0.021 -0.1371)
OKLCHoklch(31.84% 0.139 278.7)
XYZxyz(4.6879, 2.8465, 17.4384)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282176 #6F7621
analogous
#214576 #282176 #532176
triadic
#282176 #762821 #217628
tetradic
#282176 #762145 #6F7621 #217653
square
#282176 #762145 #6F7621 #217653
split-complementary
#282176 #765321 #457621
monochromatic
#080718 #181446 #282176 #382EA6 #5146CB

Accessibility & contrast

On white

13.38
#282176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282176
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282176#FFFFFF#000000##FFFFFF
##2821761.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282176;
/* rgb */ color: rgb(40, 33, 118);
/* oklch */ color: oklch(31.8% 0.139 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d5d9e',
    500: '#282176',
    950: '#000000',
  },
}
SCSS
$custom: #282176;
$custom-light: #6d5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#282176",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 244.941,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31838,
    "c": 0.13874,
    "h": 278.7
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#282176
secondary
#A1A94A
accent
#E048D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #282176

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

Preview Lab → · Contrast checker → · Palette generator →

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