#282C74#282C74

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

Color values

HEX#282C74
RGBrgb(40, 44, 116)
HSLhsl(237, 49%, 31%)
HSVhsv(237, 66%, 45%)
CMYKcmyk(65.5%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.99, 22.68, -42.06)
CIE-LCHlch(21.99, 47.78, 298.33°)
OKLaboklab(33.66% 0.0113 -0.121)
OKLCHoklch(33.66% 0.122 275.3)
XYZxyz(4.9271, 3.5130, 16.9380)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C74 #747028
analogous
#285274 #282C74 #4A2874
triadic
#282C74 #74282C #2C7428
tetradic
#282C74 #742852 #747028 #28744A
square
#282C74 #742852 #747028 #28744A
split-complementary
#282C74 #744A28 #527428
monochromatic
#090919 #181B46 #282C74 #383DA2 #5359C4

Accessibility & contrast

On white

12.33
#282C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C74
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C74#FFFFFF#000000##FFFFFF
##282C741.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282c74;
/* rgb */ color: rgb(40, 44, 116);
/* oklch */ color: oklch(33.7% 0.122 275.3);
Tailwind
colors: {
  custom: {
    50: '#6b659d',
    500: '#282c74',
    950: '#000000',
  },
}
SCSS
$custom: #282c74;
$custom-light: #6b659d;
$custom-dark: #000000;
JSON
{
  "hex": "#282c74",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 236.842,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.12154,
    "h": 275.3
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282C74

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

Preview Lab → · Contrast checker → · Palette generator →

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