#282985#282985

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

Color values

HEX#282985
RGBrgb(40, 41, 133)
HSLhsl(239, 54%, 34%)
HSVhsv(239, 70%, 52%)
CMYKcmyk(69.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.76, 30.92, -51.58)
CIE-LCHlch(22.76, 60.14, 300.94°)
OKLaboklab(34.69% 0.0127 -0.149)
OKLCHoklch(34.69% 0.15 274.9)
XYZxyz(5.9002, 3.7299, 22.5948)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282985 #858428
analogous
#285885 #282985 #562885
triadic
#282985 #852829 #298528
tetradic
#282985 #852858 #858428 #288556
square
#282985 #852858 #858428 #288556
split-complementary
#282985 #855628 #588528
monochromatic
#0C0C27 #1A1A56 #282985 #3638B4 #5A5BCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282985#FFFFFF#000000##FFFFFF
##2829851.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)
#003B88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282985;
/* rgb */ color: rgb(40, 41, 133);
/* oklch */ color: oklch(34.7% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f63a9',
    500: '#282985',
    950: '#000000',
  },
}
SCSS
$custom: #282985;
$custom-light: #6f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282985",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 239.355,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34693,
    "c": 0.1495,
    "h": 274.9
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#282985
secondary
#B3B256
accent
#DC4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282985

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

Preview Lab → · Contrast checker → · Palette generator →

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