#282197#282197

#282197 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.181 H 274.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#282197
RGBrgb(40, 33, 151)
HSLhsl(244, 64%, 36%)
HSVhsv(244, 78%, 59%)
CMYKcmyk(73.5%, 78.1%, 0%, 40.8%)
CIE-LABlab(22.90, 41.92, -62.53)
CIE-LCHlch(22.90, 75.28, 303.84°)
OKLaboklab(35.36% 0.0142 -0.1809)
OKLCHoklch(35.36% 0.181 274.5)
XYZxyz(7.0030, 3.7725, 29.6313)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282197 #909721
analogous
#215597 #282197 #632197
triadic
#282197 #972821 #219728
tetradic
#282197 #972155 #909721 #219763
square
#282197 #972155 #909721 #219763
split-complementary
#282197 #976321 #559721
monochromatic
#0D0B33 #1B1665 #282197 #352CC9 #6058DA

Accessibility & contrast

On white

11.97
#282197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282197
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282197#FFFFFF#000000##FFFFFF
##2821971.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282197;
/* rgb */ color: rgb(40, 33, 151);
/* oklch */ color: oklch(35.4% 0.181 274.5);
Tailwind
colors: {
  custom: {
    50: '#755fb7',
    500: '#282197',
    950: '#000000',
  },
}
SCSS
$custom: #282197;
$custom-light: #755fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#282197",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 243.559,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.18142,
    "h": 274.5
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#282197
secondary
#B8BE55
accent
#E741DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282197

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

Preview Lab → · Contrast checker → · Palette generator →

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