#282DA2#282DA2

#282DA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.183 H 272.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#282DA2
RGBrgb(40, 45, 162)
HSLhsl(238, 60%, 40%)
HSVhsv(238, 75%, 64%)
CMYKcmyk(75.3%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.55, 38.71, -63.23)
CIE-LCHlch(26.55, 74.14, 301.48°)
OKLaboklab(38.3% 0.0063 -0.183)
OKLCHoklch(38.3% 0.183 272)
XYZxyz(8.3328, 4.9356, 34.6889)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA2 #A29D28
analogous
#286AA2 #282DA2 #6028A2
triadic
#282DA2 #A2282D #2DA228
tetradic
#282DA2 #A2286A #A29D28 #28A260
square
#282DA2 #A2286A #A29D28 #28A260
split-complementary
#282DA2 #A26028 #6AA228
monochromatic
#101240 #1C1F71 #282DA2 #393FCE #6A6FDA

Accessibility & contrast

On white

10.57
#282DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282DA2
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA2#FFFFFF#000000##FFFFFF
##282DA21.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282da2;
/* rgb */ color: rgb(40, 45, 162);
/* oklch */ color: oklch(38.3% 0.183 272.0);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#282da2',
    950: '#000000',
  },
}
SCSS
$custom: #282da2;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282da2",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 237.541,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.1831,
    "h": 272
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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