#282491#282491

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

Color values

HEX#282491
RGBrgb(40, 36, 145)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 57%)
CMYKcmyk(72.4%, 75.2%, 0%, 43.1%)
CIE-LABlab(22.85, 38.21, -58.91)
CIE-LCHlch(22.85, 70.22, 302.97°)
OKLaboklab(35.13% 0.014 -0.1704)
OKLCHoklch(35.13% 0.171 274.7)
XYZxyz(6.6151, 3.7566, 27.1590)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282491 #8D9124
analogous
#245691 #282491 #5E2491
triadic
#282491 #912824 #249128
tetradic
#282491 #912456 #8D9124 #24915E
square
#282491 #912456 #8D9124 #24915E
split-complementary
#282491 #915E24 #569124
monochromatic
#0D0C2F #1A1860 #282491 #3630C2 #5E59D6

Accessibility & contrast

On white

11.99
#282491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282491
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282491#FFFFFF#000000##FFFFFF
##2824911.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282491;
/* rgb */ color: rgb(40, 36, 145);
/* oklch */ color: oklch(35.1% 0.171 274.7);
Tailwind
colors: {
  custom: {
    50: '#7360b2',
    500: '#282491',
    950: '#000000',
  },
}
SCSS
$custom: #282491;
$custom-light: #7360b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282491",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 242.202,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35126,
    "c": 0.17093,
    "h": 274.7
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#282491
secondary
#B7BA56
accent
#E344DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282491

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

Preview Lab → · Contrast checker → · Palette generator →

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