#282B73#282B73

#282B73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.121 H 275.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#282B73
RGBrgb(40, 43, 115)
HSLhsl(238, 48%, 30%)
HSVhsv(238, 65%, 45%)
CMYKcmyk(65.2%, 62.6%, 0%, 54.9%)
CIE-LABlab(21.64, 22.99, -41.99)
CIE-LCHlch(21.64, 47.88, 298.70°)
OKLaboklab(33.37% 0.0123 -0.1208)
OKLCHoklch(33.37% 0.121 275.8)
XYZxyz(4.8325, 3.4163, 16.6211)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B73 #737028
analogous
#285073 #282B73 #4A2873
triadic
#282B73 #73282B #2B7328
tetradic
#282B73 #732850 #737028 #28734A
square
#282B73 #732850 #737028 #28734A
split-complementary
#282B73 #734A28 #507328
monochromatic
#080918 #181A46 #282B73 #383CA0 #5257C3

Accessibility & contrast

On white

12.47
#282B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B73
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B73#FFFFFF#000000##FFFFFF
##282B731.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282b73;
/* rgb */ color: rgb(40, 43, 115);
/* oklch */ color: oklch(33.4% 0.121 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b649c',
    500: '#282b73',
    950: '#000000',
  },
}
SCSS
$custom: #282b73;
$custom-light: #6b649c;
$custom-dark: #000000;
JSON
{
  "hex": "#282b73",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 237.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.12144,
    "h": 275.8
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#282B73
secondary
#A5A252
accent
#D350D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B73

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

Preview Lab → · Contrast checker → · Palette generator →

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