#282490#282490

#282490 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.170 H 274.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#282490
RGBrgb(40, 36, 144)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 56%)
CMYKcmyk(72.2%, 75%, 0%, 43.5%)
CIE-LABlab(22.74, 37.87, -58.47)
CIE-LCHlch(22.74, 69.66, 302.93°)
OKLaboklab(35.02% 0.0142 -0.1691)
OKLCHoklch(35.02% 0.17 274.8)
XYZxyz(6.5383, 3.7259, 26.7547)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282490 #8C9024
analogous
#245690 #282490 #5E2490
triadic
#282490 #902824 #249028
tetradic
#282490 #902456 #8C9024 #24905E
square
#282490 #902456 #8C9024 #24905E
split-complementary
#282490 #905E24 #569024
monochromatic
#0D0C2E #1A185F #282490 #3630C1 #5E59D5

Accessibility & contrast

On white

12.03
#282490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282490
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282490#FFFFFF#000000##FFFFFF
##2824901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282490;
/* rgb */ color: rgb(40, 36, 144);
/* oklch */ color: oklch(35.0% 0.170 274.8);
Tailwind
colors: {
  custom: {
    50: '#7360b2',
    500: '#282490',
    950: '#000000',
  },
}
SCSS
$custom: #282490;
$custom-light: #7360b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282490",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 242.222,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.16966,
    "h": 274.8
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#282490
secondary
#B6BA56
accent
#E345DD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282490

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

Preview Lab → · Contrast checker → · Palette generator →

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