#282D8C#282D8C

#282D8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.154 H 273.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#282D8C
RGBrgb(40, 45, 140)
HSLhsl(237, 56%, 35%)
HSVhsv(237, 71%, 55%)
CMYKcmyk(71.4%, 67.9%, 0%, 45.1%)
CIE-LABlab(24.39, 30.86, -53.28)
CIE-LCHlch(24.39, 61.57, 300.08°)
OKLaboklab(36.08% 0.009 -0.1539)
OKLCHoklch(36.08% 0.154 273.3)
XYZxyz(6.5455, 4.2207, 25.2756)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8C #8C8728
analogous
#285F8C #282D8C #55288C
triadic
#282D8C #8C282D #2D8C28
tetradic
#282D8C #8C285F #8C8728 #288C55
square
#282D8C #8C285F #8C8728 #288C55
split-complementary
#282D8C #8C5528 #5F8C28
monochromatic
#0D0E2D #1A1E5C #282D8C #363CBC #5E63D1

Accessibility & contrast

On white

11.39
#282D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8C#FFFFFF#000000##FFFFFF
##282D8C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282d8c;
/* rgb */ color: rgb(40, 45, 140);
/* oklch */ color: oklch(36.1% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#7166af',
    500: '#282d8c',
    950: '#000000',
  },
}
SCSS
$custom: #282d8c;
$custom-light: #7166af;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8c",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 237,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.15418,
    "h": 273.3
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#282D8C
secondary
#B6B25A
accent
#D749DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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