#282BAC#282BAC

#282BAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.198 H 271.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#282BAC
RGBrgb(40, 43, 172)
HSLhsl(239, 62%, 42%)
HSVhsv(239, 77%, 67%)
CMYKcmyk(76.7%, 75%, 0%, 32.5%)
CIE-LABlab(27.18, 43.33, -68.24)
CIE-LCHlch(27.18, 80.83, 302.41°)
OKLaboklab(39.06% 0.0056 -0.1975)
OKLCHoklch(39.06% 0.198 271.6)
XYZxyz(9.1828, 5.1564, 39.5331)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BAC #ACA928
analogous
#286DAC #282BAC #6728AC
triadic
#282BAC #AC282B #2BAC28
tetradic
#282BAC #AC286D #ACA928 #28AC67
square
#282BAC #AC286D #ACA928 #28AC67
split-complementary
#282BAC #AC6728 #6DAC28
monochromatic
#111249 #1C1F7A #282BAC #3F42D2 #7173DE

Accessibility & contrast

On white

10.34
#282BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#282BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BAC
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BAC#FFFFFF#000000##FFFFFF
##282BAC1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282bac;
/* rgb */ color: rgb(40, 43, 172);
/* oklch */ color: oklch(39.1% 0.198 271.6);
Tailwind
colors: {
  custom: {
    50: '#7966c6',
    500: '#282bac',
    950: '#000000',
  },
}
SCSS
$custom: #282bac;
$custom-light: #7966c6;
$custom-dark: #000000;
JSON
{
  "hex": "#282bac",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 238.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39056,
    "c": 0.19763,
    "h": 271.6
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#282BAC
secondary
#C5C36B
accent
#E242E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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