#282F86#282F86

#282F86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.143 H 273.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#282F86
RGBrgb(40, 47, 134)
HSLhsl(236, 54%, 34%)
HSVhsv(236, 70%, 53%)
CMYKcmyk(70.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.34, 27.33, -49.62)
CIE-LCHlch(24.34, 56.65, 298.85°)
OKLaboklab(35.87% 0.0079 -0.1432)
OKLCHoklch(35.87% 0.143 273.2)
XYZxyz(6.1932, 4.2048, 23.0349)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F86 #867F28
analogous
#285E86 #282F86 #502886
triadic
#282F86 #86282F #2F8628
tetradic
#282F86 #86285E #867F28 #288650
square
#282F86 #86285E #867F28 #288650
split-complementary
#282F86 #865028 #5E8628
monochromatic
#0C0E28 #1A1E57 #282F86 #3640B5 #5B63CE

Accessibility & contrast

On white

11.41
#282F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F86
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F86#FFFFFF#000000##FFFFFF
##282F861.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282f86;
/* rgb */ color: rgb(40, 47, 134);
/* oklch */ color: oklch(35.9% 0.143 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f67aa',
    500: '#282f86',
    950: '#000000',
  },
}
SCSS
$custom: #282f86;
$custom-light: #6f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#282f86",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 235.532,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35874,
    "c": 0.14341,
    "h": 273.2
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#282F86
secondary
#B3AC57
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282F86

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

Preview Lab → · Contrast checker → · Palette generator →

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