#282DA8#282DA8

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

Color values

HEX#282DA8
RGBrgb(40, 45, 168)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 76%, 66%)
CMYKcmyk(76.2%, 73.2%, 0%, 34.1%)
CIE-LABlab(27.17, 40.80, -65.84)
CIE-LCHlch(27.17, 77.46, 301.78°)
OKLaboklab(38.92% 0.0054 -0.1906)
OKLCHoklch(38.92% 0.191 271.6)
XYZxyz(8.8790, 5.1541, 37.5651)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA8 #A8A328
analogous
#286DA8 #282DA8 #6328A8
triadic
#282DA8 #A8282D #2DA828
tetradic
#282DA8 #A8286D #A8A328 #28A863
square
#282DA8 #A8286D #A8A328 #28A863
split-complementary
#282DA8 #A86328 #6DA828
monochromatic
#101345 #1C2077 #282DA8 #3D42D1 #6E72DC

Accessibility & contrast

On white

10.34
#282DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#282DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA8
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA8#FFFFFF#000000##FFFFFF
##282DA81.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282da8;
/* rgb */ color: rgb(40, 45, 168);
/* oklch */ color: oklch(38.9% 0.191 271.6);
Tailwind
colors: {
  custom: {
    50: '#7867c3',
    500: '#282da8',
    950: '#000000',
  },
}
SCSS
$custom: #282da8;
$custom-light: #7867c3;
$custom-dark: #000000;
JSON
{
  "hex": "#282da8",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 237.656,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.19067,
    "h": 271.6
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#282DA8
secondary
#C3C069
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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