#282B8A#282B8A

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

Color values

HEX#282B8A
RGBrgb(40, 43, 138)
HSLhsl(238, 55%, 35%)
HSVhsv(238, 71%, 54%)
CMYKcmyk(71%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.72, 31.43, -53.14)
CIE-LCHlch(23.72, 61.74, 300.60°)
OKLaboklab(35.53% 0.0106 -0.1535)
OKLCHoklch(35.53% 0.154 274)
XYZxyz(6.3249, 4.0133, 24.4811)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B8A #8A8728
analogous
#285C8A #282B8A #56288A
triadic
#282B8A #8A282B #2B8A28
tetradic
#282B8A #8A285C #8A8728 #288A56
square
#282B8A #8A285C #8A8728 #288A56
split-complementary
#282B8A #8A5628 #5C8A28
monochromatic
#0C0D2B #1A1C5B #282B8A #363AB9 #5D60D0

Accessibility & contrast

On white

11.65
#282B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B8A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B8A#FFFFFF#000000##FFFFFF
##282B8A1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b8a;
/* rgb */ color: rgb(40, 43, 138);
/* oklch */ color: oklch(35.5% 0.154 274.0);
Tailwind
colors: {
  custom: {
    50: '#7065ad',
    500: '#282b8a',
    950: '#000000',
  },
}
SCSS
$custom: #282b8a;
$custom-light: #7065ad;
$custom-dark: #000000;
JSON
{
  "hex": "#282b8a",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 238.163,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.15388,
    "h": 274
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#282B8A
secondary
#B5B259
accent
#DA49DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #282B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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