#282FA0#282FA0

#282FA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.178 H 271.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#282FA0
RGBrgb(40, 47, 160)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 63%)
CMYKcmyk(75%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.80, 36.78, -61.62)
CIE-LCHlch(26.80, 71.76, 300.83°)
OKLaboklab(38.41% 0.0055 -0.1783)
OKLCHoklch(38.41% 0.178 271.8)
XYZxyz(8.2346, 5.0214, 33.7861)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FA0 #A09928
analogous
#286BA0 #282FA0 #5D28A0
triadic
#282FA0 #A0282F #2FA028
tetradic
#282FA0 #A0286B #A09928 #28A05D
square
#282FA0 #A0286B #A09928 #28A05D
split-complementary
#282FA0 #A05D28 #6BA028
monochromatic
#10123E #1C216F #282FA0 #3841CD #696FD9

Accessibility & contrast

On white

10.48
#282FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#282FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FA0
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FA0#FFFFFF#000000##FFFFFF
##282FA01.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282fa0;
/* rgb */ color: rgb(40, 47, 160);
/* oklch */ color: oklch(38.4% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7568bd',
    500: '#282fa0',
    950: '#000000',
  },
}
SCSS
$custom: #282fa0;
$custom-light: #7568bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282fa0",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 236.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.17836,
    "h": 271.8
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#282FA0
secondary
#C0BA64
accent
#DA45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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