#282E83#282E83

#282E83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.140 H 273.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#282E83
RGBrgb(40, 46, 131)
HSLhsl(236, 53%, 34%)
HSVhsv(236, 69%, 51%)
CMYKcmyk(69.5%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.81, 26.89, -48.60)
CIE-LCHlch(23.81, 55.54, 298.96°)
OKLaboklab(35.41% 0.0089 -0.1402)
OKLCHoklch(35.41% 0.14 273.6)
XYZxyz(5.9474, 4.0433, 21.9353)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E83 #837D28
analogous
#285B83 #282E83 #4F2883
triadic
#282E83 #83282E #2E8328
tetradic
#282E83 #83285B #837D28 #28834F
square
#282E83 #83285B #837D28 #28834F
split-complementary
#282E83 #834F28 #5B8328
monochromatic
#0B0D25 #1A1E54 #282E83 #363EB2 #5961CC

Accessibility & contrast

On white

11.61
#282E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E83
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E83#FFFFFF#000000##FFFFFF
##282E831.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282e83;
/* rgb */ color: rgb(40, 46, 131);
/* oklch */ color: oklch(35.4% 0.140 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f66a8',
    500: '#282e83',
    950: '#000000',
  },
}
SCSS
$custom: #282e83;
$custom-light: #6f66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#282e83",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 236.044,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.14047,
    "h": 273.6
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#282E83
secondary
#B1AB55
accent
#D34BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282E83

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

Preview Lab → · Contrast checker → · Palette generator →

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