#282890#282890

#282890 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.165 H 274.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#282890
RGBrgb(40, 40, 144)
HSLhsl(240, 57%, 36%)
HSVhsv(240, 72%, 56%)
CMYKcmyk(72.2%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.61, 35.46, -57.04)
CIE-LCHlch(23.61, 67.17, 301.87°)
OKLaboklab(35.64% 0.0118 -0.1649)
OKLCHoklch(35.64% 0.165 274.1)
XYZxyz(6.6662, 3.9817, 26.7974)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282890 #909028
analogous
#285C90 #282890 #5C2890
triadic
#282890 #902828 #289028
tetradic
#282890 #90285C #909028 #28905C
square
#282890 #90285C #909028 #28905C
split-complementary
#282890 #905C28 #5C9028
monochromatic
#0D0D30 #1B1B60 #282890 #3535C0 #6060D3

Accessibility & contrast

On white

11.69
#282890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282890
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282890#FFFFFF#000000##FFFFFF
##2828901.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282890;
/* rgb */ color: rgb(40, 40, 144);
/* oklch */ color: oklch(35.6% 0.165 274.1);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#282890',
    950: '#000000',
  },
}
SCSS
$custom: #282890;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282890",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.16534,
    "h": 274.1
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#282890
secondary
#B8B85C
accent
#E048E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282890

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

Preview Lab → · Contrast checker → · Palette generator →

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