#282179#282179

#282179 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.143 H 278.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#282179
RGBrgb(40, 33, 121)
HSLhsl(245, 57%, 30%)
HSVhsv(245, 73%, 47%)
CMYKcmyk(66.9%, 72.7%, 0%, 52.5%)
CIE-LABlab(19.72, 31.75, -48.98)
CIE-LCHlch(19.72, 58.37, 302.95°)
OKLaboklab(32.14% 0.0205 -0.1413)
OKLCHoklch(32.14% 0.143 278.2)
XYZxyz(4.8690, 2.9189, 18.3923)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282179 #727921
analogous
#214679 #282179 #542179
triadic
#282179 #792821 #217928
tetradic
#282179 #792146 #727921 #217954
square
#282179 #792146 #727921 #217954
split-complementary
#282179 #795421 #467921
monochromatic
#080719 #181449 #282179 #382EA9 #5247CD

Accessibility & contrast

On white

13.26
#282179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282179
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282179#FFFFFF#000000##FFFFFF
##2821791.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282179;
/* rgb */ color: rgb(40, 33, 121);
/* oklch */ color: oklch(32.1% 0.143 278.2);
Tailwind
colors: {
  custom: {
    50: '#6d5da1',
    500: '#282179',
    950: '#000000',
  },
}
SCSS
$custom: #282179;
$custom-light: #6d5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#282179",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 244.773,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.14281,
    "h": 278.2
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#282179
secondary
#A4AC4A
accent
#E047D4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #282179

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

Preview Lab → · Contrast checker → · Palette generator →

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