#282D85#282D85

#282D85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.145 H 273.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#282D85
RGBrgb(40, 45, 133)
HSLhsl(237, 54%, 34%)
HSVhsv(237, 70%, 52%)
CMYKcmyk(69.9%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.74, 28.30, -49.97)
CIE-LCHlch(23.74, 57.43, 299.52°)
OKLaboklab(35.41% 0.0096 -0.1442)
OKLCHoklch(35.41% 0.145 273.8)
XYZxyz(6.0457, 4.0208, 22.6432)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D85 #858028
analogous
#285C85 #282D85 #522885
triadic
#282D85 #85282D #2D8528
tetradic
#282D85 #85285C #858028 #288552
square
#282D85 #85285C #858028 #288552
split-complementary
#282D85 #855228 #5C8528
monochromatic
#0C0D27 #1A1D56 #282D85 #363DB4 #5A60CD

Accessibility & contrast

On white

11.64
#282D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D85
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D85#FFFFFF#000000##FFFFFF
##282D851.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d85;
/* rgb */ color: rgb(40, 45, 133);
/* oklch */ color: oklch(35.4% 0.145 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f66a9',
    500: '#282d85',
    950: '#000000',
  },
}
SCSS
$custom: #282d85;
$custom-light: #6f66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282d85",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 236.774,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.14455,
    "h": 273.8
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#282D85
secondary
#B3AE56
accent
#D54BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282D85

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

Preview Lab → · Contrast checker → · Palette generator →

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