#282DA7#282DA7

#282DA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.189 H 271.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#282DA7
RGBrgb(40, 45, 167)
HSLhsl(238, 61%, 41%)
HSVhsv(238, 76%, 65%)
CMYKcmyk(76%, 73.1%, 0%, 34.5%)
CIE-LABlab(27.07, 40.45, -65.41)
CIE-LCHlch(27.07, 76.91, 301.73°)
OKLaboklab(38.82% 0.0055 -0.1893)
OKLCHoklch(38.82% 0.189 271.7)
XYZxyz(8.7862, 5.1170, 37.0763)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA7 #A7A228
analogous
#286CA7 #282DA7 #6228A7
triadic
#282DA7 #A7282D #2DA728
tetradic
#282DA7 #A7286C #A7A228 #28A762
square
#282DA7 #A7286C #A7A228 #28A762
split-complementary
#282DA7 #A76228 #6CA728
monochromatic
#101244 #1C2076 #282DA7 #3C42D0 #6D72DC

Accessibility & contrast

On white

10.38
#282DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#282DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA7
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA7#FFFFFF#000000##FFFFFF
##282DA71.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282da7;
/* rgb */ color: rgb(40, 45, 167);
/* oklch */ color: oklch(38.8% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#7767c2',
    500: '#282da7',
    950: '#000000',
  },
}
SCSS
$custom: #282da7;
$custom-light: #7767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282da7",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 237.638,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.18941,
    "h": 271.7
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#282DA7
secondary
#C3BF68
accent
#DE43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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