#282DA9#282DA9

#282DA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.192 H 271.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#282DA9
RGBrgb(40, 45, 169)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 76%, 66%)
CMYKcmyk(76.3%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.27, 41.14, -66.27)
CIE-LCHlch(27.27, 78.00, 301.83°)
OKLaboklab(39.03% 0.0052 -0.1918)
OKLCHoklch(39.03% 0.192 271.6)
XYZxyz(8.9725, 5.1915, 38.0576)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA9 #A9A428
analogous
#286DA9 #282DA9 #6328A9
triadic
#282DA9 #A9282D #2DA928
tetradic
#282DA9 #A9286D #A9A428 #28A963
square
#282DA9 #A9286D #A9A428 #28A963
split-complementary
#282DA9 #A96328 #6DA928
monochromatic
#111346 #1C2078 #282DA9 #3D43D1 #6F73DD

Accessibility & contrast

On white

10.30
#282DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#282DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA9
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA9#FFFFFF#000000##FFFFFF
##282DA91.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282da9;
/* rgb */ color: rgb(40, 45, 169);
/* oklch */ color: oklch(39.0% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#7867c4',
    500: '#282da9',
    950: '#000000',
  },
}
SCSS
$custom: #282da9;
$custom-light: #7867c4;
$custom-dark: #000000;
JSON
{
  "hex": "#282da9",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 237.674,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.19191,
    "h": 271.6
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#282DA9
secondary
#C4C069
accent
#DF43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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