#282FA9#282FA9

#282FA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 271.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#282FA9
RGBrgb(40, 47, 169)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 76%, 66%)
CMYKcmyk(76.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(27.70, 39.95, -65.56)
CIE-LCHlch(27.70, 76.78, 301.35°)
OKLaboklab(39.34% 0.0043 -0.1898)
OKLCHoklch(39.34% 0.19 271.3)
XYZxyz(9.0506, 5.3477, 38.0837)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FA9 #A9A228
analogous
#286FA9 #282FA9 #6128A9
triadic
#282FA9 #A9282F #2FA928
tetradic
#282FA9 #A9286F #A9A228 #28A961
square
#282FA9 #A9286F #A9A228 #28A961
split-complementary
#282FA9 #A96128 #6FA928
monochromatic
#111346 #1C2178 #282FA9 #3D45D1 #6F75DD

Accessibility & contrast

On white

10.15
#282FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#282FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FA9
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FA9#FFFFFF#000000##FFFFFF
##282FA91.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282fa9;
/* rgb */ color: rgb(40, 47, 169);
/* oklch */ color: oklch(39.3% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#7868c4',
    500: '#282fa9',
    950: '#000000',
  },
}
SCSS
$custom: #282fa9;
$custom-light: #7868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#282fa9",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 236.744,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.18984,
    "h": 271.3
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#282FA9
secondary
#C4BF69
accent
#DC43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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