#282BC4#282BC4

#282BC4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.226 H 270.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#282BC4
RGBrgb(40, 43, 196)
HSLhsl(239, 66%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(79.6%, 78.1%, 0%, 23.1%)
CIE-LABlab(29.82, 51.22, -78.11)
CIE-LCHlch(29.82, 93.41, 303.25°)
OKLaboklab(41.7% 0.0013 -0.2262)
OKLCHoklch(41.7% 0.226 270.3)
XYZxyz(11.6994, 6.1631, 52.7868)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BC4 #C4C128
analogous
#2879C4 #282BC4 #7328C4
triadic
#282BC4 #C4282B #2BC428
tetradic
#282BC4 #C42879 #C4C128 #28C473
square
#282BC4 #C42879 #C4C128 #28C473
split-complementary
#282BC4 #C47328 #79C428
monochromatic
#13155E #1E2091 #282BC4 #4E51DB #8183E5

Accessibility & contrast

On white

9.41
#282BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#282BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BC4
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BC4#FFFFFF#000000##FFFFFF
##282BC41.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #282bc4;
/* rgb */ color: rgb(40, 43, 196);
/* oklch */ color: oklch(41.7% 0.226 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f67d7',
    500: '#282bc4',
    950: '#000000',
  },
}
SCSS
$custom: #282bc4;
$custom-light: #7f67d7;
$custom-dark: #000000;
JSON
{
  "hex": "#282bc4",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 238.846,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41698,
    "c": 0.22622,
    "h": 270.3
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#282BC4
secondary
#CECC7A
accent
#E63FE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #282BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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