#282DC5#282DC5

#282DC5 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.226 H 270.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#282DC5
RGBrgb(40, 45, 197)
HSLhsl(238, 66%, 46%)
HSVhsv(238, 80%, 77%)
CMYKcmyk(79.7%, 77.2%, 0%, 22.7%)
CIE-LABlab(30.30, 50.49, -77.91)
CIE-LCHlch(30.30, 92.84, 302.95°)
OKLaboklab(42.07% 0.0005 -0.2256)
OKLCHoklch(42.07% 0.226 270.1)
XYZxyz(11.8881, 6.3577, 53.4131)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DC5 #C5C028
analogous
#287CC5 #282DC5 #7228C5
triadic
#282DC5 #C5282D #2DC528
tetradic
#282DC5 #C5287C #C5C028 #28C572
square
#282DC5 #C5287C #C5C028 #28C572
split-complementary
#282DC5 #C57228 #7CC528
monochromatic
#13165F #1E2192 #282DC5 #4F53DB #8285E6

Accessibility & contrast

On white

9.24
#282DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#282DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DC5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DC5#FFFFFF#000000##FFFFFF
##282DC51.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #282dc5;
/* rgb */ color: rgb(40, 45, 197);
/* oklch */ color: oklch(42.1% 0.226 270.1);
Tailwind
colors: {
  custom: {
    50: '#7f68d8',
    500: '#282dc5',
    950: '#000000',
  },
}
SCSS
$custom: #282dc5;
$custom-light: #7f68d8;
$custom-dark: #000000;
JSON
{
  "hex": "#282dc5",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 197
  },
  "hsl": {
    "h": 238.089,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.22565,
    "h": 270.1
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#282DC5
secondary
#CECC7A
accent
#E43FE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #282DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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