#282DB0#282DB0

#282DB0 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.201 H 271.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#282DB0
RGBrgb(40, 45, 176)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 77%, 69%)
CMYKcmyk(77.3%, 74.4%, 0%, 31%)
CIE-LABlab(28.01, 43.53, -69.26)
CIE-LCHlch(28.01, 81.80, 302.15°)
OKLaboklab(39.78% 0.0041 -0.2005)
OKLCHoklch(39.78% 0.201 271.2)
XYZxyz(9.6473, 5.4614, 41.6116)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DB0 #B0AB28
analogous
#2871B0 #282DB0 #6728B0
triadic
#282DB0 #B0282D #2DB028
tetradic
#282DB0 #B02871 #B0AB28 #28B067
square
#282DB0 #B02871 #B0AB28 #28B067
split-complementary
#282DB0 #B06728 #71B028
monochromatic
#11144C #1D207E #282DB0 #4147D4 #7377DF

Accessibility & contrast

On white

10.04
#282DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#282DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DB0
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DB0#FFFFFF#000000##FFFFFF
##282DB01.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282db0;
/* rgb */ color: rgb(40, 45, 176);
/* oklch */ color: oklch(39.8% 0.201 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a67c9',
    500: '#282db0',
    950: '#000000',
  },
}
SCSS
$custom: #282db0;
$custom-light: #7a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#282db0",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 237.794,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.20057,
    "h": 271.2
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#282DB0
secondary
#C6C36D
accent
#E042E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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