#282BBD#282BBD

#282BBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.218 H 270.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#282BBD
RGBrgb(40, 43, 189)
HSLhsl(239, 65%, 45%)
HSVhsv(239, 79%, 74%)
CMYKcmyk(78.8%, 77.2%, 0%, 25.9%)
CIE-LABlab(29.04, 48.96, -75.29)
CIE-LCHlch(29.04, 89.81, 303.03°)
OKLaboklab(40.92% 0.0026 -0.218)
OKLCHoklch(40.92% 0.218 270.7)
XYZxyz(10.9211, 5.8518, 48.6882)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BBD #BDBA28
analogous
#2875BD #282BBD #7028BD
triadic
#282BBD #BD282B #2BBD28
tetradic
#282BBD #BD2875 #BDBA28 #28BD70
square
#282BBD #BD2875 #BDBA28 #28BD70
split-complementary
#282BBD #BD7028 #75BD28
monochromatic
#131458 #1D208A #282BBD #4A4CD9 #7C7EE3

Accessibility & contrast

On white

9.67
#282BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#282BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BBD
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BBD#FFFFFF#000000##FFFFFF
##282BBD1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #282bbd;
/* rgb */ color: rgb(40, 43, 189);
/* oklch */ color: oklch(40.9% 0.218 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d67d2',
    500: '#282bbd',
    950: '#000000',
  },
}
SCSS
$custom: #282bbd;
$custom-light: #7d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#282bbd",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 238.792,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.21804,
    "h": 270.7
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#282BBD
secondary
#CBCA75
accent
#E540E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #282BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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