#282CB0#282CB0

#282CB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.202 H 271.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#282CB0
RGBrgb(40, 44, 176)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 77%, 69%)
CMYKcmyk(77.3%, 75%, 0%, 31%)
CIE-LABlab(27.81, 44.11, -69.59)
CIE-LCHlch(27.81, 82.39, 302.36°)
OKLaboklab(39.63% 0.0045 -0.2015)
OKLCHoklch(39.63% 0.202 271.3)
XYZxyz(9.6096, 5.3860, 41.5990)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CB0 #B0AC28
analogous
#2870B0 #282CB0 #6828B0
triadic
#282CB0 #B0282C #2CB028
tetradic
#282CB0 #B02870 #B0AC28 #28B068
square
#282CB0 #B02870 #B0AC28 #28B068
split-complementary
#282CB0 #B06828 #70B028
monochromatic
#11134C #1D207E #282CB0 #4146D4 #7376DF

Accessibility & contrast

On white

10.11
#282CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#282CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CB0
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CB0#FFFFFF#000000##FFFFFF
##282CB01.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282cb0;
/* rgb */ color: rgb(40, 44, 176);
/* oklch */ color: oklch(39.6% 0.202 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a67c9',
    500: '#282cb0',
    950: '#000000',
  },
}
SCSS
$custom: #282cb0;
$custom-light: #7a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#282cb0",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 238.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.20155,
    "h": 271.3
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#282CB0
secondary
#C6C46D
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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