#282183#282183

#282183 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.156 H 276.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#282183
RGBrgb(40, 33, 131)
HSLhsl(244, 60%, 32%)
HSVhsv(244, 75%, 51%)
CMYKcmyk(69.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.74, 35.20, -53.64)
CIE-LCHlch(20.74, 64.16, 303.28°)
OKLaboklab(33.18% 0.0186 -0.155)
OKLCHoklch(33.18% 0.156 276.8)
XYZxyz(5.5143, 3.1770, 21.7910)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282183 #7C8321
analogous
#214B83 #282183 #592183
triadic
#282183 #832821 #218328
tetradic
#282183 #83214B #7C8321 #218359
square
#282183 #83214B #7C8321 #218359
split-complementary
#282183 #835921 #4B8321
monochromatic
#0A0821 #191552 #282183 #372DB4 #564CD2

Accessibility & contrast

On white

12.84
#282183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282183
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282183#FFFFFF#000000##FFFFFF
##2821831.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282183;
/* rgb */ color: rgb(40, 33, 131);
/* oklch */ color: oklch(33.2% 0.156 276.8);
Tailwind
colors: {
  custom: {
    50: '#705ea8',
    500: '#282183',
    950: '#000000',
  },
}
SCSS
$custom: #282183;
$custom-light: #705ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#282183",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 244.286,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.15608,
    "h": 276.8
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#282183
secondary
#ADB54B
accent
#E345D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282183

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

Preview Lab → · Contrast checker → · Palette generator →

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