#282B89#282B89

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

Color values

HEX#282B89
RGBrgb(40, 43, 137)
HSLhsl(238, 55%, 35%)
HSVhsv(238, 71%, 54%)
CMYKcmyk(70.8%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.62, 31.07, -52.67)
CIE-LCHlch(23.62, 61.15, 300.53°)
OKLaboklab(35.44% 0.0107 -0.1521)
OKLCHoklch(35.44% 0.153 274)
XYZxyz(6.2528, 3.9844, 24.1016)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B89 #898628
analogous
#285C89 #282B89 #552889
triadic
#282B89 #89282B #2B8928
tetradic
#282B89 #89285C #898628 #288955
square
#282B89 #89285C #898628 #288955
split-complementary
#282B89 #895528 #5C8928
monochromatic
#0C0D2A #1A1C5A #282B89 #363AB8 #5C60CF

Accessibility & contrast

On white

11.69
#282B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B89
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B89#FFFFFF#000000##FFFFFF
##282B891.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282b89;
/* rgb */ color: rgb(40, 43, 137);
/* oklch */ color: oklch(35.4% 0.153 274.0);
Tailwind
colors: {
  custom: {
    50: '#7065ac',
    500: '#282b89',
    950: '#000000',
  },
}
SCSS
$custom: #282b89;
$custom-light: #7065ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282b89",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 238.144,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.15253,
    "h": 274
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#282B89
secondary
#B5B258
accent
#DA4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #282B89

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

Preview Lab → · Contrast checker → · Palette generator →

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