#282B81#282B81

#282B81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.141 H 274.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#282B81
RGBrgb(40, 43, 129)
HSLhsl(238, 53%, 33%)
HSVhsv(238, 69%, 51%)
CMYKcmyk(69%, 66.7%, 0%, 49.4%)
CIE-LABlab(22.87, 28.16, -48.88)
CIE-LCHlch(22.87, 56.41, 299.94°)
OKLaboklab(34.66% 0.0115 -0.141)
OKLCHoklch(34.66% 0.142 274.7)
XYZxyz(5.7001, 3.7633, 21.1906)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B81 #817E28
analogous
#285781 #282B81 #522881
triadic
#282B81 #81282B #2B8128
tetradic
#282B81 #812857 #817E28 #288152
square
#282B81 #812857 #817E28 #288152
split-complementary
#282B81 #815228 #578128
monochromatic
#0B0C24 #1A1B52 #282B81 #363BB0 #585CCB

Accessibility & contrast

On white

11.98
#282B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B81
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B81#FFFFFF#000000##FFFFFF
##282B811.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282b81;
/* rgb */ color: rgb(40, 43, 129);
/* oklch */ color: oklch(34.7% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#6e64a6',
    500: '#282b81',
    950: '#000000',
  },
}
SCSS
$custom: #282b81;
$custom-light: #6e64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282b81",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 237.978,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.1415,
    "h": 274.7
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282B81

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

Preview Lab → · Contrast checker → · Palette generator →

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