#282990#282990

#282990 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.164 H 273.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#282990
RGBrgb(40, 41, 144)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 72%, 56%)
CMYKcmyk(72.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.84, 34.84, -56.67)
CIE-LCHlch(23.84, 66.52, 301.58°)
OKLaboklab(35.8% 0.0112 -0.1638)
OKLCHoklch(35.8% 0.164 273.9)
XYZxyz(6.7004, 4.0500, 26.8088)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282990 #908F28
analogous
#285D90 #282990 #5B2890
triadic
#282990 #902829 #299028
tetradic
#282990 #90285D #908F28 #28905B
square
#282990 #90285D #908F28 #28905B
split-complementary
#282990 #905B28 #5D9028
monochromatic
#0D0E30 #1B1B60 #282990 #3537C0 #6061D3

Accessibility & contrast

On white

11.60
#282990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282990
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282990#FFFFFF#000000##FFFFFF
##2829901.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282990;
/* rgb */ color: rgb(40, 41, 144);
/* oklch */ color: oklch(35.8% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#282990',
    950: '#000000',
  },
}
SCSS
$custom: #282990;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282990",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 239.423,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.16422,
    "h": 273.9
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#282990
secondary
#B8B75C
accent
#DE48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282990

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

Preview Lab → · Contrast checker → · Palette generator →

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