#282175#282175

#282175 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.137 H 278.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#282175
RGBrgb(40, 33, 117)
HSLhsl(245, 56%, 29%)
HSVhsv(245, 72%, 46%)
CMYKcmyk(65.8%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.32, 30.35, -47.07)
CIE-LCHlch(19.32, 56.00, 302.82°)
OKLaboklab(31.74% 0.0211 -0.1357)
OKLCHoklch(31.74% 0.137 278.9)
XYZxyz(4.6288, 2.8228, 17.1271)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282175 #6E7521
analogous
#214475 #282175 #522175
triadic
#282175 #752821 #217528
tetradic
#282175 #752144 #6E7521 #217552
square
#282175 #752144 #6E7521 #217552
split-complementary
#282175 #755221 #447521
monochromatic
#080718 #181445 #282175 #382EA5 #5146CB

Accessibility & contrast

On white

13.42
#282175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#282175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282175
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282175#FFFFFF#000000##FFFFFF
##2821751.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282175;
/* rgb */ color: rgb(40, 33, 117);
/* oklch */ color: oklch(31.7% 0.137 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d5d9e',
    500: '#282175',
    950: '#000000',
  },
}
SCSS
$custom: #282175;
$custom-light: #6d5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#282175",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 245,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31738,
    "c": 0.13738,
    "h": 278.9
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#282175
secondary
#A0A84A
accent
#DF49D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #282175

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

Preview Lab → · Contrast checker → · Palette generator →

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