#282B83#282B83

#282B83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.144 H 274.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#282B83
RGBrgb(40, 43, 131)
HSLhsl(238, 53%, 34%)
HSVhsv(238, 69%, 51%)
CMYKcmyk(69.5%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.06, 28.89, -49.84)
CIE-LCHlch(23.06, 57.60, 300.10°)
OKLaboklab(34.85% 0.0113 -0.1438)
OKLCHoklch(34.85% 0.144 274.5)
XYZxyz(5.8343, 3.8170, 21.8976)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B83 #838028
analogous
#285883 #282B83 #522883
triadic
#282B83 #83282B #2B8328
tetradic
#282B83 #832858 #838028 #288352
square
#282B83 #832858 #838028 #288352
split-complementary
#282B83 #835228 #588328
monochromatic
#0B0C25 #1A1C54 #282B83 #363AB2 #595DCC

Accessibility & contrast

On white

11.91
#282B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B83
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B83#FFFFFF#000000##FFFFFF
##282B831.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282b83;
/* rgb */ color: rgb(40, 43, 131);
/* oklch */ color: oklch(34.9% 0.144 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f64a8',
    500: '#282b83',
    950: '#000000',
  },
}
SCSS
$custom: #282b83;
$custom-light: #6f64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#282b83",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 238.022,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34853,
    "c": 0.14429,
    "h": 274.5
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#282B83
secondary
#B1AE55
accent
#D84BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282B83

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

Preview Lab → · Contrast checker → · Palette generator →

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