#282090#282090

#282090 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.174 H 275.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#282090
RGBrgb(40, 32, 144)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 56%)
CMYKcmyk(72.2%, 77.8%, 0%, 43.5%)
CIE-LABlab(21.93, 40.16, -59.81)
CIE-LCHlch(21.93, 72.04, 303.88°)
OKLaboklab(34.45% 0.0163 -0.1729)
OKLCHoklch(34.45% 0.174 275.4)
XYZxyz(6.4240, 3.4971, 26.7166)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282090 #889020
analogous
#205090 #282090 #602090
triadic
#282090 #902820 #209028
tetradic
#282090 #902050 #889020 #209060
square
#282090 #902050 #889020 #209060
split-complementary
#282090 #906020 #509020
monochromatic
#0C0A2C #1A155E #282090 #362BC2 #5B52D9

Accessibility & contrast

On white

12.36
#282090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282090
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282090#FFFFFF#000000##FFFFFF
##2820901.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282090;
/* rgb */ color: rgb(40, 32, 144);
/* oklch */ color: oklch(34.4% 0.174 275.4);
Tailwind
colors: {
  custom: {
    50: '#735eb2',
    500: '#282090',
    950: '#000000',
  },
}
SCSS
$custom: #282090;
$custom-light: #735eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#282090",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 244.286,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34446,
    "c": 0.17369,
    "h": 275.4
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#282090
secondary
#B4BC50
accent
#E741DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #282090

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

Preview Lab → · Contrast checker → · Palette generator →

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