#282194#282194

#282194 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.178 H 274.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#282194
RGBrgb(40, 33, 148)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 58%)
CMYKcmyk(73%, 77.7%, 0%, 42%)
CIE-LABlab(22.57, 40.93, -61.23)
CIE-LCHlch(22.57, 73.65, 303.76°)
OKLaboklab(35.03% 0.0149 -0.1771)
OKLCHoklch(35.03% 0.178 274.8)
XYZxyz(6.7625, 3.6763, 28.3644)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282194 #8D9421
analogous
#215394 #282194 #612194
triadic
#282194 #942821 #219428
tetradic
#282194 #942153 #8D9421 #219461
square
#282194 #942153 #8D9421 #219461
split-complementary
#282194 #946121 #539421
monochromatic
#0D0B30 #1A1662 #282194 #362CC6 #5E56D9

Accessibility & contrast

On white

12.10
#282194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282194
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282194#FFFFFF#000000##FFFFFF
##2821941.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282194;
/* rgb */ color: rgb(40, 33, 148);
/* oklch */ color: oklch(35.0% 0.178 274.8);
Tailwind
colors: {
  custom: {
    50: '#745fb5',
    500: '#282194',
    950: '#000000',
  },
}
SCSS
$custom: #282194;
$custom-light: #745fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#282194",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 243.652,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.1777,
    "h": 274.8
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#282194
secondary
#B7BD54
accent
#E741DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282194

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

Preview Lab → · Contrast checker → · Palette generator →

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