#282690#282690

#282690 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.168 H 274.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#282690
RGBrgb(40, 38, 144)
HSLhsl(241, 58%, 36%)
HSVhsv(241, 74%, 56%)
CMYKcmyk(72.2%, 73.6%, 0%, 43.5%)
CIE-LABlab(23.17, 36.68, -57.77)
CIE-LCHlch(23.17, 68.43, 302.42°)
OKLaboklab(35.32% 0.013 -0.167)
OKLCHoklch(35.32% 0.168 274.5)
XYZxyz(6.6006, 3.8503, 26.7755)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282690 #8E9026
analogous
#265990 #282690 #5D2690
triadic
#282690 #902826 #269028
tetradic
#282690 #902659 #8E9026 #26905D
square
#282690 #902659 #8E9026 #26905D
split-complementary
#282690 #905D26 #599026
monochromatic
#0D0C2F #1B1960 #282690 #3533C0 #5F5CD4

Accessibility & contrast

On white

11.86
#282690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282690
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282690#FFFFFF#000000##FFFFFF
##2826901.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282690;
/* rgb */ color: rgb(40, 38, 144);
/* oklch */ color: oklch(35.3% 0.168 274.5);
Tailwind
colors: {
  custom: {
    50: '#7261b2',
    500: '#282690',
    950: '#000000',
  },
}
SCSS
$custom: #282690;
$custom-light: #7261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282690",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 241.132,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.16754,
    "h": 274.5
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#282690
secondary
#B7B959
accent
#E146DF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282690

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

Preview Lab → · Contrast checker → · Palette generator →

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