#282088#282088

#282088 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.164 H 276.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#282088
RGBrgb(40, 32, 136)
HSLhsl(245, 62%, 33%)
HSVhsv(245, 76%, 53%)
CMYKcmyk(70.6%, 76.5%, 0%, 46.7%)
CIE-LABlab(21.06, 37.49, -56.26)
CIE-LCHlch(21.06, 67.60, 303.68°)
OKLaboklab(33.57% 0.0181 -0.1626)
OKLCHoklch(33.57% 0.164 276.4)
XYZxyz(5.8341, 3.2612, 23.6098)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282088 #808820
analogous
#204C88 #282088 #5C2088
triadic
#282088 #882820 #208828
tetradic
#282088 #88204C #808820 #20885C
square
#282088 #88204C #808820 #20885C
split-complementary
#282088 #885C20 #4C8820
monochromatic
#0B0925 #191456 #282088 #372CBA #584DD5

Accessibility & contrast

On white

12.71
#282088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282088
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282088#FFFFFF#000000##FFFFFF
##2820881.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282088;
/* rgb */ color: rgb(40, 32, 136);
/* oklch */ color: oklch(33.6% 0.164 276.4);
Tailwind
colors: {
  custom: {
    50: '#715dac',
    500: '#282088',
    950: '#000000',
  },
}
SCSS
$custom: #282088;
$custom-light: #715dac;
$custom-dark: #000000;
JSON
{
  "hex": "#282088",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 244.615,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.1636,
    "h": 276.4
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#282088
secondary
#B0B84C
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282088

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

Preview Lab → · Contrast checker → · Palette generator →

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