#282B77#282B77

#282B77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.127 H 275.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#282B77
RGBrgb(40, 43, 119)
HSLhsl(238, 50%, 31%)
HSVhsv(238, 66%, 47%)
CMYKcmyk(66.4%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.98, 24.47, -43.99)
CIE-LCHlch(21.98, 50.34, 299.09°)
OKLaboklab(33.73% 0.0122 -0.1267)
OKLCHoklch(33.73% 0.127 275.5)
XYZxyz(5.0676, 3.5104, 17.8597)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B77 #777428
analogous
#285277 #282B77 #4C2877
triadic
#282B77 #77282B #2B7728
tetradic
#282B77 #772852 #777428 #28774C
square
#282B77 #772852 #777428 #28774C
split-complementary
#282B77 #774C28 #527728
monochromatic
#090A1B #191A49 #282B77 #373CA5 #5458C5

Accessibility & contrast

On white

12.34
#282B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B77
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B77#FFFFFF#000000##FFFFFF
##282B771.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282b77;
/* rgb */ color: rgb(40, 43, 119);
/* oklch */ color: oklch(33.7% 0.127 275.5);
Tailwind
colors: {
  custom: {
    50: '#6c649f',
    500: '#282b77',
    950: '#000000',
  },
}
SCSS
$custom: #282b77;
$custom-light: #6c649f;
$custom-dark: #000000;
JSON
{
  "hex": "#282b77",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 237.722,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33732,
    "c": 0.12728,
    "h": 275.5
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#282B77
secondary
#A9A652
accent
#D44FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B77

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

Preview Lab → · Contrast checker → · Palette generator →

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