#282188#282188

#282188 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.163 H 276.2°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#282188
RGBrgb(40, 33, 136)
HSLhsl(244, 61%, 33%)
HSVhsv(244, 76%, 53%)
CMYKcmyk(70.6%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.27, 36.91, -55.92)
CIE-LCHlch(21.27, 67.00, 303.43°)
OKLaboklab(33.72% 0.0175 -0.1616)
OKLCHoklch(33.72% 0.163 276.2)
XYZxyz(5.8614, 3.3159, 23.6189)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282188 #818821
analogous
#214D88 #282188 #5B2188
triadic
#282188 #882821 #218828
tetradic
#282188 #88214D #818821 #21885B
square
#282188 #88214D #818821 #21885B
split-complementary
#282188 #885B21 #4D8821
monochromatic
#0B0925 #1A1557 #282188 #362DB9 #584FD4

Accessibility & contrast

On white

12.63
#282188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282188
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282188#FFFFFF#000000##FFFFFF
##2821881.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282188;
/* rgb */ color: rgb(40, 33, 136);
/* oklch */ color: oklch(33.7% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#715eac',
    500: '#282188',
    950: '#000000',
  },
}
SCSS
$custom: #282188;
$custom-light: #715eac;
$custom-dark: #000000;
JSON
{
  "hex": "#282188",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 244.078,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33716,
    "c": 0.16255,
    "h": 276.2
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#282188
secondary
#B0B84D
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282188

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

Preview Lab → · Contrast checker → · Palette generator →

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