#282B88#282B88

#282B88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.151 H 274.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#282B88
RGBrgb(40, 43, 136)
HSLhsl(238, 55%, 35%)
HSVhsv(238, 71%, 53%)
CMYKcmyk(70.6%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.53, 30.71, -52.20)
CIE-LCHlch(23.53, 60.56, 300.46°)
OKLaboklab(35.34% 0.0108 -0.1508)
OKLCHoklch(35.34% 0.151 274.1)
XYZxyz(6.1814, 3.9559, 23.7256)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B88 #888528
analogous
#285B88 #282B88 #552888
triadic
#282B88 #88282B #2B8828
tetradic
#282B88 #88285B #888528 #288855
square
#282B88 #88285B #888528 #288855
split-complementary
#282B88 #885528 #5B8828
monochromatic
#0C0D29 #1A1C59 #282B88 #363AB7 #5B5FCF

Accessibility & contrast

On white

11.72
#282B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B88
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B88#FFFFFF#000000##FFFFFF
##282B881.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282b88;
/* rgb */ color: rgb(40, 43, 136);
/* oklch */ color: oklch(35.3% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#7065ac',
    500: '#282b88',
    950: '#000000',
  },
}
SCSS
$custom: #282b88;
$custom-light: #7065ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282b88",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 238.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.15116,
    "h": 274.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#282B88
secondary
#B4B158
accent
#D94ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282B88

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

Preview Lab → · Contrast checker → · Palette generator →

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