#282FB4#282FB4

#282FB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.5% C 0.203 H 270.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#282FB4
RGBrgb(40, 47, 180)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 71%)
CMYKcmyk(77.8%, 73.9%, 0%, 29.4%)
CIE-LABlab(28.85, 43.74, -70.27)
CIE-LCHlch(28.85, 82.76, 301.90°)
OKLaboklab(40.5% 0.0026 -0.2035)
OKLCHoklch(40.5% 0.203 270.7)
XYZxyz(10.1270, 5.7783, 43.7528)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FB4 #B4AD28
analogous
#2875B4 #282FB4 #6728B4
triadic
#282FB4 #B4282F #2FB428
tetradic
#282FB4 #B42875 #B4AD28 #28B467
square
#282FB4 #B42875 #B4AD28 #28B467
split-complementary
#282FB4 #B46728 #75B428
monochromatic
#121550 #1D2282 #282FB4 #444BD5 #767BE1

Accessibility & contrast

On white

9.74
#282FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#282FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FB4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FB4#FFFFFF#000000##FFFFFF
##282FB41.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #282fb4;
/* rgb */ color: rgb(40, 47, 180);
/* oklch */ color: oklch(40.5% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a69cc',
    500: '#282fb4',
    950: '#000000',
  },
}
SCSS
$custom: #282fb4;
$custom-light: #7a69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#282fb4",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 237,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.20349,
    "h": 270.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#282FB4
secondary
#C8C470
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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