#282B8B#282B8B

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

Color values

HEX#282B8B
RGBrgb(40, 43, 139)
HSLhsl(238, 55%, 35%)
HSVhsv(238, 71%, 55%)
CMYKcmyk(71.2%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.81, 31.79, -53.61)
CIE-LCHlch(23.81, 62.32, 300.67°)
OKLaboklab(35.63% 0.0105 -0.1549)
OKLCHoklch(35.63% 0.155 273.9)
XYZxyz(6.3976, 4.0423, 24.8642)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B8B #8B8828
analogous
#285C8B #282B8B #57288B
triadic
#282B8B #8B282B #2B8B28
tetradic
#282B8B #8B285C #8B8828 #288B57
square
#282B8B #8B285C #8B8828 #288B57
split-complementary
#282B8B #8B5728 #5C8B28
monochromatic
#0D0E2C #1A1C5B #282B8B #363ABB #5D61D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282B8B#FFFFFF#000000##FFFFFF
##282B8B1.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)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282b8b;
/* rgb */ color: rgb(40, 43, 139);
/* oklch */ color: oklch(35.6% 0.155 273.9);
Tailwind
colors: {
  custom: {
    50: '#7165ae',
    500: '#282b8b',
    950: '#000000',
  },
}
SCSS
$custom: #282b8b;
$custom-light: #7165ae;
$custom-dark: #000000;
JSON
{
  "hex": "#282b8b",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 238.182,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.15524,
    "h": 273.9
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#282B8B
secondary
#B6B359
accent
#DA49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #282B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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