#282CA0#282CA0

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

Color values

HEX#282CA0
RGBrgb(40, 44, 160)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 63%)
CMYKcmyk(75%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.13, 38.62, -62.72)
CIE-LCHlch(26.13, 73.65, 301.62°)
OKLaboklab(37.93% 0.0071 -0.1815)
OKLCHoklch(37.93% 0.182 272.2)
XYZxyz(8.1188, 4.7897, 33.7475)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CA0 #A09C28
analogous
#2868A0 #282CA0 #6028A0
triadic
#282CA0 #A0282C #2CA028
tetradic
#282CA0 #A02868 #A09C28 #28A060
square
#282CA0 #A02868 #A09C28 #28A060
split-complementary
#282CA0 #A06028 #68A028
monochromatic
#10113E #1C1F6F #282CA0 #383DCD #696DD9

Accessibility & contrast

On white

10.72
#282CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#282CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CA0
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CA0#FFFFFF#000000##FFFFFF
##282CA01.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282ca0;
/* rgb */ color: rgb(40, 44, 160);
/* oklch */ color: oklch(37.9% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#7666bd',
    500: '#282ca0',
    950: '#000000',
  },
}
SCSS
$custom: #282ca0;
$custom-light: #7666bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282ca0",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 238,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.18162,
    "h": 272.2
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#282CA0
secondary
#C0BD64
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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