#282A75#282A75

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

Color values

HEX#282A75
RGBrgb(40, 42, 117)
HSLhsl(238, 49%, 31%)
HSVhsv(238, 66%, 46%)
CMYKcmyk(65.8%, 64.1%, 0%, 54.1%)
CIE-LABlab(21.55, 24.42, -43.43)
CIE-LCHlch(21.55, 49.82, 299.35°)
OKLaboklab(33.36% 0.0132 -0.125)
OKLCHoklch(33.36% 0.126 276)
XYZxyz(4.9129, 3.3910, 17.2218)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A75 #757328
analogous
#285075 #282A75 #4C2875
triadic
#282A75 #75282A #2A7528
tetradic
#282A75 #752850 #757328 #28754C
square
#282A75 #752850 #757328 #28754C
split-complementary
#282A75 #754C28 #507528
monochromatic
#09091A #181A47 #282A75 #383AA3 #5356C4

Accessibility & contrast

On white

12.51
#282A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A75
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A75#FFFFFF#000000##FFFFFF
##282A751.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282a75;
/* rgb */ color: rgb(40, 42, 117);
/* oklch */ color: oklch(33.4% 0.126 276.0);
Tailwind
colors: {
  custom: {
    50: '#6c639d',
    500: '#282a75',
    950: '#000000',
  },
}
SCSS
$custom: #282a75;
$custom-light: #6c639d;
$custom-dark: #000000;
JSON
{
  "hex": "#282a75",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 238.442,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.12573,
    "h": 276
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#282A75
secondary
#A7A552
accent
#D54FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282A75

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

Preview Lab → · Contrast checker → · Palette generator →

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