#282C9F#282C9F

#282C9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 272.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#282C9F
RGBrgb(40, 44, 159)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(74.8%, 72.3%, 0%, 37.6%)
CIE-LABlab(26.02, 38.27, -62.28)
CIE-LCHlch(26.02, 73.10, 301.57°)
OKLaboklab(37.83% 0.0072 -0.1802)
OKLCHoklch(37.83% 0.18 272.3)
XYZxyz(8.0317, 4.7549, 33.2887)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C9F #9F9B28
analogous
#28689F #282C9F #60289F
triadic
#282C9F #9F282C #2C9F28
tetradic
#282C9F #9F2868 #9F9B28 #289F60
square
#282C9F #9F2868 #9F9B28 #289F60
split-complementary
#282C9F #9F6028 #689F28
monochromatic
#0F113D #1C1E6E #282C9F #373CCD #686CD9

Accessibility & contrast

On white

10.76
#282C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#282C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C9F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C9F#FFFFFF#000000##FFFFFF
##282C9F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282c9f;
/* rgb */ color: rgb(40, 44, 159);
/* oklch */ color: oklch(37.8% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#7566bd',
    500: '#282c9f',
    950: '#000000',
  },
}
SCSS
$custom: #282c9f;
$custom-light: #7566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282c9f",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 237.983,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.18034,
    "h": 272.3
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#282C9F
secondary
#BFBC64
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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