#282B80#282B80

#282B80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.140 H 274.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#282B80
RGBrgb(40, 43, 128)
HSLhsl(238, 52%, 33%)
HSVhsv(238, 69%, 50%)
CMYKcmyk(68.8%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.78, 27.79, -48.40)
CIE-LCHlch(22.78, 55.81, 299.86°)
OKLaboklab(34.57% 0.0116 -0.1396)
OKLCHoklch(34.57% 0.14 274.7)
XYZxyz(5.6339, 3.7369, 20.8423)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B80 #807D28
analogous
#285780 #282B80 #512880
triadic
#282B80 #80282B #2B8028
tetradic
#282B80 #802857 #807D28 #288051
square
#282B80 #802857 #807D28 #288051
split-complementary
#282B80 #805128 #578028
monochromatic
#0B0C23 #191B51 #282B80 #373BAF #585CCB

Accessibility & contrast

On white

12.02
#282B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B80
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B80#FFFFFF#000000##FFFFFF
##282B801.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282b80;
/* rgb */ color: rgb(40, 43, 128);
/* oklch */ color: oklch(34.6% 0.140 274.7);
Tailwind
colors: {
  custom: {
    50: '#6e64a6',
    500: '#282b80',
    950: '#000000',
  },
}
SCSS
$custom: #282b80;
$custom-light: #6e64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282b80",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 237.955,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.1401,
    "h": 274.7
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#282B80
secondary
#B0AD54
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #282B80

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

Preview Lab → · Contrast checker → · Palette generator →

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