#282195#282195

#282195 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.179 H 274.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#282195
RGBrgb(40, 33, 149)
HSLhsl(244, 64%, 36%)
HSVhsv(244, 78%, 58%)
CMYKcmyk(73.2%, 77.9%, 0%, 41.6%)
CIE-LABlab(22.68, 41.26, -61.66)
CIE-LCHlch(22.68, 74.20, 303.79°)
OKLaboklab(35.14% 0.0147 -0.1783)
OKLCHoklch(35.14% 0.179 274.7)
XYZxyz(6.8419, 3.7081, 28.7831)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282195 #8E9521
analogous
#215495 #282195 #622195
triadic
#282195 #952821 #219528
tetradic
#282195 #952154 #8E9521 #219562
square
#282195 #952154 #8E9521 #219562
split-complementary
#282195 #956221 #549521
monochromatic
#0D0B31 #1B1663 #282195 #352CC7 #5F57DA

Accessibility & contrast

On white

12.06
#282195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282195
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282195#FFFFFF#000000##FFFFFF
##2821951.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282195;
/* rgb */ color: rgb(40, 33, 149);
/* oklch */ color: oklch(35.1% 0.179 274.7);
Tailwind
colors: {
  custom: {
    50: '#745fb5',
    500: '#282195',
    950: '#000000',
  },
}
SCSS
$custom: #282195;
$custom-light: #745fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#282195",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 243.621,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.17894,
    "h": 274.7
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282195

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

Preview Lab → · Contrast checker → · Palette generator →

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