#282C75#282C75

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

Color values

HEX#282C75
RGBrgb(40, 44, 117)
HSLhsl(237, 49%, 31%)
HSVhsv(237, 66%, 46%)
CMYKcmyk(65.8%, 62.4%, 0%, 54.1%)
CIE-LABlab(22.08, 23.05, -42.56)
CIE-LCHlch(22.08, 48.40, 298.44°)
OKLaboklab(33.75% 0.0113 -0.1225)
OKLCHoklch(33.75% 0.123 275.3)
XYZxyz(4.9856, 3.5364, 17.2460)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C75 #757128
analogous
#285275 #282C75 #4A2875
triadic
#282C75 #75282C #2C7528
tetradic
#282C75 #752852 #757128 #28754A
square
#282C75 #752852 #757128 #28754A
split-complementary
#282C75 #754A28 #527528
monochromatic
#090A1A #181B47 #282C75 #383DA3 #5359C4

Accessibility & contrast

On white

12.30
#282C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C75
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C75#FFFFFF#000000##FFFFFF
##282C751.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c75;
/* rgb */ color: rgb(40, 44, 117);
/* oklch */ color: oklch(33.7% 0.123 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c659d',
    500: '#282c75',
    950: '#000000',
  },
}
SCSS
$custom: #282c75;
$custom-light: #6c659d;
$custom-dark: #000000;
JSON
{
  "hex": "#282c75",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 236.883,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.12301,
    "h": 275.3
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#282C75
secondary
#A7A352
accent
#D14FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282C75

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

Preview Lab → · Contrast checker → · Palette generator →

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