#282DB3#282DB3

#282DB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.204 H 271.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#282DB3
RGBrgb(40, 45, 179)
HSLhsl(238, 63%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(77.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.33, 44.55, -70.52)
CIE-LCHlch(28.33, 83.41, 302.28°)
OKLaboklab(40.1% 0.0036 -0.2042)
OKLCHoklch(40.1% 0.204 271)
XYZxyz(9.9474, 5.5815, 43.1922)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DB3 #B3AE28
analogous
#2872B3 #282DB3 #6928B3
triadic
#282DB3 #B3282D #2DB328
tetradic
#282DB3 #B32872 #B3AE28 #28B369
square
#282DB3 #B32872 #B3AE28 #28B369
split-complementary
#282DB3 #B36928 #72B328
monochromatic
#12144F #1D2081 #282DB3 #4348D5 #7579E0

Accessibility & contrast

On white

9.92
#282DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#282DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DB3
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DB3#FFFFFF#000000##FFFFFF
##282DB31.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282db3;
/* rgb */ color: rgb(40, 45, 179);
/* oklch */ color: oklch(40.1% 0.204 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a68cb',
    500: '#282db3',
    950: '#000000',
  },
}
SCSS
$custom: #282db3;
$custom-light: #7a68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#282db3",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 237.842,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.20423,
    "h": 271
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#282DB3
secondary
#C8C46F
accent
#E141E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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