#282CA3#282CA3

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

Color values

HEX#282CA3
RGBrgb(40, 44, 163)
HSLhsl(238, 61%, 40%)
HSVhsv(238, 75%, 64%)
CMYKcmyk(75.5%, 73%, 0%, 36.1%)
CIE-LABlab(26.44, 39.66, -64.03)
CIE-LCHlch(26.44, 75.32, 301.78°)
OKLaboklab(38.25% 0.0066 -0.1853)
OKLCHoklch(38.25% 0.185 272)
XYZxyz(8.3844, 4.8959, 35.1464)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CA3 #A39F28
analogous
#2869A3 #282CA3 #6228A3
triadic
#282CA3 #A3282C #2CA328
tetradic
#282CA3 #A32869 #A39F28 #28A362
square
#282CA3 #A32869 #A39F28 #28A362
split-complementary
#282CA3 #A36228 #69A328
monochromatic
#101141 #1C1F72 #282CA3 #3A3ECF #6B6EDB

Accessibility & contrast

On white

10.61
#282CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#282CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CA3
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CA3#FFFFFF#000000##FFFFFF
##282CA31.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282ca3;
/* rgb */ color: rgb(40, 44, 163);
/* oklch */ color: oklch(38.2% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#7666bf',
    500: '#282ca3',
    950: '#000000',
  },
}
SCSS
$custom: #282ca3;
$custom-light: #7666bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282ca3",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 238.049,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.18542,
    "h": 272
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#282CA3
secondary
#C1BE66
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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