#282CA1#282CA1

#282CA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.183 H 272.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#282CA1
RGBrgb(40, 44, 161)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 63%)
CMYKcmyk(75.2%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.23, 38.97, -63.16)
CIE-LCHlch(26.23, 74.21, 301.68°)
OKLaboklab(38.04% 0.0069 -0.1828)
OKLCHoklch(38.04% 0.183 272.2)
XYZxyz(8.2066, 4.8248, 34.2101)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CA1 #A19D28
analogous
#2868A1 #282CA1 #6128A1
triadic
#282CA1 #A1282C #2CA128
tetradic
#282CA1 #A12868 #A19D28 #28A161
square
#282CA1 #A12868 #A19D28 #28A161
split-complementary
#282CA1 #A16128 #68A128
monochromatic
#10113F #1C1F70 #282CA1 #393DCE #6A6DDA

Accessibility & contrast

On white

10.69
#282CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#282CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CA1
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CA1#FFFFFF#000000##FFFFFF
##282CA11.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282ca1;
/* rgb */ color: rgb(40, 44, 161);
/* oklch */ color: oklch(38.0% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#7666be',
    500: '#282ca1',
    950: '#000000',
  },
}
SCSS
$custom: #282ca1;
$custom-light: #7666be;
$custom-dark: #000000;
JSON
{
  "hex": "#282ca1",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 238.017,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.18289,
    "h": 272.2
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#282CA1
secondary
#C0BD65
accent
#DE44E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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