#282DAC#282DAC

#282DAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.196 H 271.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#282DAC
RGBrgb(40, 45, 172)
HSLhsl(238, 62%, 42%)
HSVhsv(238, 77%, 67%)
CMYKcmyk(76.7%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.59, 42.17, -67.56)
CIE-LCHlch(27.59, 79.64, 301.97°)
OKLaboklab(39.35% 0.0047 -0.1956)
OKLCHoklch(39.35% 0.196 271.4)
XYZxyz(9.2573, 5.3054, 39.5579)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DAC #ACA728
analogous
#286FAC #282DAC #6528AC
triadic
#282DAC #AC282D #2DAC28
tetradic
#282DAC #AC286F #ACA728 #28AC65
square
#282DAC #AC286F #ACA728 #28AC65
split-complementary
#282DAC #AC6528 #6FAC28
monochromatic
#111349 #1C207A #282DAC #3F44D2 #7175DE

Accessibility & contrast

On white

10.19
#282DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#282DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DAC
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DAC#FFFFFF#000000##FFFFFF
##282DAC1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282dac;
/* rgb */ color: rgb(40, 45, 172);
/* oklch */ color: oklch(39.3% 0.196 271.4);
Tailwind
colors: {
  custom: {
    50: '#7967c6',
    500: '#282dac',
    950: '#000000',
  },
}
SCSS
$custom: #282dac;
$custom-light: #7967c6;
$custom-dark: #000000;
JSON
{
  "hex": "#282dac",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 237.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.19565,
    "h": 271.4
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#282DAC
secondary
#C5C16B
accent
#DF42E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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