#282291#282291

#282291 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.173 H 275.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#282291
RGBrgb(40, 34, 145)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 77%, 57%)
CMYKcmyk(72.4%, 76.6%, 0%, 43.1%)
CIE-LABlab(22.44, 39.37, -59.59)
CIE-LCHlch(22.44, 71.42, 303.45°)
OKLaboklab(34.84% 0.015 -0.1723)
OKLCHoklch(34.84% 0.173 275)
XYZxyz(6.5562, 3.6389, 27.1394)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282291 #8B9122
analogous
#225491 #282291 #5F2291
triadic
#282291 #912822 #229128
tetradic
#282291 #912254 #8B9122 #22915F
square
#282291 #912254 #8B9122 #22915F
split-complementary
#282291 #915F22 #549122
monochromatic
#0D0B2E #1A165F #282291 #362EC3 #5D56D7

Accessibility & contrast

On white

12.15
#282291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282291
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282291#FFFFFF#000000##FFFFFF
##2822911.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282291;
/* rgb */ color: rgb(40, 34, 145);
/* oklch */ color: oklch(34.8% 0.173 275.0);
Tailwind
colors: {
  custom: {
    50: '#735fb2',
    500: '#282291',
    950: '#000000',
  },
}
SCSS
$custom: #282291;
$custom-light: #735fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#282291",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 243.243,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.17297,
    "h": 275
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#282291
secondary
#B6BB53
accent
#E543DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282291

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

Preview Lab → · Contrast checker → · Palette generator →

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