#282FB1#282FB1

#282FB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.200 H 270.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#282FB1
RGBrgb(40, 47, 177)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 77%, 69%)
CMYKcmyk(77.4%, 73.4%, 0%, 30.6%)
CIE-LABlab(28.53, 42.71, -69.00)
CIE-LCHlch(28.53, 81.15, 301.76°)
OKLaboklab(40.18% 0.0031 -0.1998)
OKLCHoklch(40.18% 0.2 270.9)
XYZxyz(9.8247, 5.6574, 42.1606)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FB1 #B1AA28
analogous
#2874B1 #282FB1 #6528B1
triadic
#282FB1 #B1282F #2FB128
tetradic
#282FB1 #B12874 #B1AA28 #28B165
square
#282FB1 #B12874 #B1AA28 #28B165
split-complementary
#282FB1 #B16528 #74B128
monochromatic
#11144D #1D227F #282FB1 #4249D4 #7479E0

Accessibility & contrast

On white

9.85
#282FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#282FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FB1
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FB1#FFFFFF#000000##FFFFFF
##282FB11.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282fb1;
/* rgb */ color: rgb(40, 47, 177);
/* oklch */ color: oklch(40.2% 0.200 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a69ca',
    500: '#282fb1',
    950: '#000000',
  },
}
SCSS
$custom: #282fb1;
$custom-light: #7a69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#282fb1",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 236.934,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.1998,
    "h": 270.9
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#282FB1
secondary
#C7C26E
accent
#DE42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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