#282391#282391

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

Color values

HEX#282391
RGBrgb(40, 35, 145)
HSLhsl(243, 61%, 35%)
HSVhsv(243, 76%, 57%)
CMYKcmyk(72.4%, 75.9%, 0%, 43.1%)
CIE-LABlab(22.64, 38.79, -59.26)
CIE-LCHlch(22.64, 70.83, 303.21°)
OKLaboklab(34.98% 0.0145 -0.1713)
OKLCHoklch(34.98% 0.172 274.8)
XYZxyz(6.5852, 3.6969, 27.1491)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282391 #8C9123
analogous
#235591 #282391 #5F2391
triadic
#282391 #912823 #239128
tetradic
#282391 #912355 #8C9123 #23915F
square
#282391 #912355 #8C9123 #23915F
split-complementary
#282391 #915F23 #559123
monochromatic
#0D0B2E #1A1760 #282391 #362FC2 #5E58D7

Accessibility & contrast

On white

12.07
#282391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282391
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282391#FFFFFF#000000##FFFFFF
##2823911.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282391;
/* rgb */ color: rgb(40, 35, 145);
/* oklch */ color: oklch(35.0% 0.172 274.8);
Tailwind
colors: {
  custom: {
    50: '#7360b2',
    500: '#282391',
    950: '#000000',
  },
}
SCSS
$custom: #282391;
$custom-light: #7360b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282391",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 242.727,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34979,
    "c": 0.17196,
    "h": 274.8
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#282391
secondary
#B6BB55
accent
#E444DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282391

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

Preview Lab → · Contrast checker → · Palette generator →

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