#282CA2#282CA2

#282CA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.184 H 272.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#282CA2
RGBrgb(40, 44, 162)
HSLhsl(238, 60%, 40%)
HSVhsv(238, 75%, 64%)
CMYKcmyk(75.3%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.33, 39.32, -63.59)
CIE-LCHlch(26.33, 74.76, 301.73°)
OKLaboklab(38.14% 0.0068 -0.184)
OKLCHoklch(38.14% 0.184 272.1)
XYZxyz(8.2951, 4.8602, 34.6764)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CA2 #A29E28
analogous
#2869A2 #282CA2 #6128A2
triadic
#282CA2 #A2282C #2CA228
tetradic
#282CA2 #A22869 #A29E28 #28A261
square
#282CA2 #A22869 #A29E28 #28A261
split-complementary
#282CA2 #A26128 #69A228
monochromatic
#101140 #1C1F71 #282CA2 #393ECE #6A6EDA

Accessibility & contrast

On white

10.65
#282CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282CA2
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CA2#FFFFFF#000000##FFFFFF
##282CA21.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282ca2;
/* rgb */ color: rgb(40, 44, 162);
/* oklch */ color: oklch(38.1% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7666bf',
    500: '#282ca2',
    950: '#000000',
  },
}
SCSS
$custom: #282ca2;
$custom-light: #7666bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282ca2",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 238.033,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.18415,
    "h": 272.1
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#282CA2
secondary
#C1BE65
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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