#282F84#282F84

#282F84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.141 H 273.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#282F84
RGBrgb(40, 47, 132)
HSLhsl(235, 53%, 34%)
HSVhsv(235, 70%, 52%)
CMYKcmyk(69.7%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.16, 26.59, -48.66)
CIE-LCHlch(24.16, 55.45, 298.65°)
OKLaboklab(35.69% 0.008 -0.1404)
OKLCHoklch(35.69% 0.141 273.3)
XYZxyz(6.0551, 4.1495, 22.3072)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F84 #847D28
analogous
#285D84 #282F84 #4F2884
triadic
#282F84 #84282F #2F8428
tetradic
#282F84 #84285D #847D28 #28844F
square
#282F84 #84285D #847D28 #28844F
split-complementary
#282F84 #844F28 #5D8428
monochromatic
#0C0E26 #1A1E55 #282F84 #3640B3 #5A62CD

Accessibility & contrast

On white

11.48
#282F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F84
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F84#FFFFFF#000000##FFFFFF
##282F841.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282f84;
/* rgb */ color: rgb(40, 47, 132);
/* oklch */ color: oklch(35.7% 0.141 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f67a9',
    500: '#282f84',
    950: '#000000',
  },
}
SCSS
$custom: #282f84;
$custom-light: #6f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282f84",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 235.435,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.1406,
    "h": 273.3
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#282F84
secondary
#B2AB56
accent
#D24BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282F84

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

Preview Lab → · Contrast checker → · Palette generator →

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