#282095#282095

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

Color values

HEX#282095
RGBrgb(40, 32, 149)
HSLhsl(244, 65%, 35%)
HSVhsv(244, 79%, 58%)
CMYKcmyk(73.2%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.49, 41.81, -61.98)
CIE-LCHlch(22.49, 74.76, 304.00°)
OKLaboklab(35% 0.0151 -0.1792)
OKLCHoklch(35% 0.18 274.8)
XYZxyz(6.8146, 3.6534, 28.7740)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282095 #8D9520
analogous
#205295 #282095 #632095
triadic
#282095 #952820 #209528
tetradic
#282095 #952052 #8D9520 #209563
square
#282095 #952052 #8D9520 #209563
split-complementary
#282095 #956320 #529520
monochromatic
#0D0A30 #1A1563 #282095 #362BC7 #5E55DA

Accessibility & contrast

On white

12.13
#282095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282095
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282095#FFFFFF#000000##FFFFFF
##2820951.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282095;
/* rgb */ color: rgb(40, 32, 149);
/* oklch */ color: oklch(35.0% 0.180 274.8);
Tailwind
colors: {
  custom: {
    50: '#745eb5',
    500: '#282095',
    950: '#000000',
  },
}
SCSS
$custom: #282095;
$custom-light: #745eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#282095",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 244.103,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.17989,
    "h": 274.8
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#282095
secondary
#B7BE53
accent
#E840DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #282095

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

Preview Lab → · Contrast checker → · Palette generator →

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