#282C73#282C73

#282C73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.120 H 275.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#282C73
RGBrgb(40, 44, 115)
HSLhsl(237, 48%, 30%)
HSVhsv(237, 65%, 45%)
CMYKcmyk(65.2%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.91, 22.30, -41.56)
CIE-LCHlch(21.91, 47.16, 298.22°)
OKLaboklab(33.57% 0.0113 -0.1195)
OKLCHoklch(33.57% 0.12 275.4)
XYZxyz(4.8693, 3.4899, 16.6333)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C73 #736F28
analogous
#285173 #282C73 #492873
triadic
#282C73 #73282C #2C7328
tetradic
#282C73 #732851 #736F28 #287349
square
#282C73 #732851 #736F28 #287349
split-complementary
#282C73 #734928 #517328
monochromatic
#080918 #181B46 #282C73 #383DA0 #5258C3

Accessibility & contrast

On white

12.37
#282C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C73
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C73#FFFFFF#000000##FFFFFF
##282C731.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c73;
/* rgb */ color: rgb(40, 44, 115);
/* oklch */ color: oklch(33.6% 0.120 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b659c',
    500: '#282c73',
    950: '#000000',
  },
}
SCSS
$custom: #282c73;
$custom-light: #6b659c;
$custom-dark: #000000;
JSON
{
  "hex": "#282c73",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 236.8,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33571,
    "c": 0.12005,
    "h": 275.4
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#282C73
secondary
#A5A152
accent
#D150D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282C73

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

Preview Lab → · Contrast checker → · Palette generator →

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