#282DA1#282DA1

#282DA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.182 H 272.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#282DA1
RGBrgb(40, 45, 161)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 63%)
CMYKcmyk(75.2%, 72%, 0%, 36.9%)
CIE-LABlab(26.45, 38.36, -62.79)
CIE-LCHlch(26.45, 73.59, 301.42°)
OKLaboklab(38.19% 0.0064 -0.1817)
OKLCHoklch(38.19% 0.182 272)
XYZxyz(8.2443, 4.9002, 34.2227)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA1 #A19C28
analogous
#2869A1 #282DA1 #6028A1
triadic
#282DA1 #A1282D #2DA128
tetradic
#282DA1 #A12869 #A19C28 #28A160
square
#282DA1 #A12869 #A19C28 #28A160
split-complementary
#282DA1 #A16028 #69A128
monochromatic
#10123F #1C1F70 #282DA1 #393FCE #6A6EDA

Accessibility & contrast

On white

10.60
#282DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#282DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA1
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA1#FFFFFF#000000##FFFFFF
##282DA11.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282da1;
/* rgb */ color: rgb(40, 45, 161);
/* oklch */ color: oklch(38.2% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#7667be',
    500: '#282da1',
    950: '#000000',
  },
}
SCSS
$custom: #282da1;
$custom-light: #7667be;
$custom-dark: #000000;
JSON
{
  "hex": "#282da1",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 237.521,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38194,
    "c": 0.18182,
    "h": 272
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#282DA1
secondary
#C0BC65
accent
#DD44E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282DA1

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

Preview Lab → · Contrast checker → · Palette generator →

#282DA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva