#282C85#282C85

#282C85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.146 H 274.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#282C85
RGBrgb(40, 44, 133)
HSLhsl(237, 54%, 34%)
HSVhsv(237, 70%, 52%)
CMYKcmyk(69.9%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.49, 28.96, -50.38)
CIE-LCHlch(23.49, 58.11, 299.89°)
OKLaboklab(35.23% 0.0104 -0.1454)
OKLCHoklch(35.23% 0.146 274.1)
XYZxyz(6.0080, 3.9454, 22.6307)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C85 #858128
analogous
#285B85 #282C85 #532885
triadic
#282C85 #85282C #2C8528
tetradic
#282C85 #85285B #858128 #288553
square
#282C85 #85285B #858128 #288553
split-complementary
#282C85 #855328 #5B8528
monochromatic
#0C0D27 #1A1C56 #282C85 #363CB4 #5A5FCD

Accessibility & contrast

On white

11.74
#282C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C85
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C85#FFFFFF#000000##FFFFFF
##282C851.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282c85;
/* rgb */ color: rgb(40, 44, 133);
/* oklch */ color: oklch(35.2% 0.146 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f65a9',
    500: '#282c85',
    950: '#000000',
  },
}
SCSS
$custom: #282c85;
$custom-light: #6f65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282c85",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 237.419,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.14581,
    "h": 274.1
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#282C85
secondary
#B3AF56
accent
#D74BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282C85

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

Preview Lab → · Contrast checker → · Palette generator →

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