#282BAA#282BAA

#282BAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.195 H 271.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#282BAA
RGBrgb(40, 43, 170)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 76%, 67%)
CMYKcmyk(76.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(26.96, 42.65, -67.39)
CIE-LCHlch(26.96, 79.75, 302.33°)
OKLaboklab(38.84% 0.0059 -0.1951)
OKLCHoklch(38.84% 0.195 271.7)
XYZxyz(8.9922, 5.0802, 38.5291)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BAA #AAA728
analogous
#286CAA #282BAA #6628AA
triadic
#282BAA #AA282B #2BAA28
tetradic
#282BAA #AA286C #AAA728 #28AA66
square
#282BAA #AA286C #AAA728 #28AA66
split-complementary
#282BAA #AA6628 #6CAA28
monochromatic
#111247 #1C1E78 #282BAA #3E41D2 #6F72DD

Accessibility & contrast

On white

10.42
#282BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#282BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BAA
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BAA#FFFFFF#000000##FFFFFF
##282BAA1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282baa;
/* rgb */ color: rgb(40, 43, 170);
/* oklch */ color: oklch(38.8% 0.195 271.7);
Tailwind
colors: {
  custom: {
    50: '#7866c5',
    500: '#282baa',
    950: '#000000',
  },
}
SCSS
$custom: #282baa;
$custom-light: #7866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#282baa",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 238.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.19517,
    "h": 271.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#282BAA
secondary
#C4C26A
accent
#E143E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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