#282C99#282C99

#282C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.173 H 272.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#282C99
RGBrgb(40, 44, 153)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 74%, 60%)
CMYKcmyk(73.9%, 71.2%, 0%, 40%)
CIE-LABlab(25.42, 36.16, -59.61)
CIE-LCHlch(25.42, 69.72, 301.24°)
OKLaboklab(37.21% 0.0081 -0.1724)
OKLCHoklch(37.21% 0.173 272.7)
XYZxyz(7.5236, 4.5516, 30.6129)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C99 #999528
analogous
#286499 #282C99 #5C2899
triadic
#282C99 #99282C #2C9928
tetradic
#282C99 #992864 #999528 #28995C
square
#282C99 #992864 #999528 #28995C
split-complementary
#282C99 #995C28 #649928
monochromatic
#0F1038 #1B1E68 #282C99 #353ACA #6569D7

Accessibility & contrast

On white

10.99
#282C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#282C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C99
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C99#FFFFFF#000000##FFFFFF
##282C991.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282c99;
/* rgb */ color: rgb(40, 44, 153);
/* oklch */ color: oklch(37.2% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#7466b8',
    500: '#282c99',
    950: '#000000',
  },
}
SCSS
$custom: #282c99;
$custom-light: #7466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282c99",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 237.876,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.17262,
    "h": 272.7
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#282C99
secondary
#BDB960
accent
#DC46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C99

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

Preview Lab → · Contrast checker → · Palette generator →

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