#282DA3#282DA3

#282DA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.184 H 271.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#282DA3
RGBrgb(40, 45, 163)
HSLhsl(238, 61%, 40%)
HSVhsv(238, 75%, 64%)
CMYKcmyk(75.5%, 72.4%, 0%, 36.1%)
CIE-LABlab(26.65, 39.06, -63.67)
CIE-LCHlch(26.65, 74.70, 301.53°)
OKLaboklab(38.4% 0.0061 -0.1843)
OKLCHoklch(38.4% 0.184 271.9)
XYZxyz(8.4221, 4.9713, 35.1589)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA3 #A39E28
analogous
#286BA3 #282DA3 #6128A3
triadic
#282DA3 #A3282D #2DA328
tetradic
#282DA3 #A3286B #A39E28 #28A361
square
#282DA3 #A3286B #A39E28 #28A361
split-complementary
#282DA3 #A36128 #6BA328
monochromatic
#101241 #1C1F72 #282DA3 #3A40CF #6B6FDB

Accessibility & contrast

On white

10.53
#282DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#282DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA3
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA3#FFFFFF#000000##FFFFFF
##282DA31.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282da3;
/* rgb */ color: rgb(40, 45, 163);
/* oklch */ color: oklch(38.4% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#282da3',
    950: '#000000',
  },
}
SCSS
$custom: #282da3;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282da3",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 237.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.18437,
    "h": 271.9
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#282DA3
secondary
#C1BD66
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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