#282CB3#282CB3

#282CB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.205 H 271.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#282CB3
RGBrgb(40, 44, 179)
HSLhsl(238, 63%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(77.7%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.13, 45.11, -70.85)
CIE-LCHlch(28.13, 83.99, 302.49°)
OKLaboklab(39.96% 0.004 -0.2051)
OKLCHoklch(39.96% 0.205 271.1)
XYZxyz(9.9097, 5.5061, 43.1796)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CB3 #B3AF28
analogous
#2872B3 #282CB3 #6928B3
triadic
#282CB3 #B3282C #2CB328
tetradic
#282CB3 #B32872 #B3AF28 #28B369
square
#282CB3 #B32872 #B3AF28 #28B369
split-complementary
#282CB3 #B36928 #72B328
monochromatic
#12134F #1D2081 #282CB3 #4347D5 #7578E0

Accessibility & contrast

On white

9.99
#282CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#282CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CB3
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CB3#FFFFFF#000000##FFFFFF
##282CB31.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282cb3;
/* rgb */ color: rgb(40, 44, 179);
/* oklch */ color: oklch(40.0% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a67cb',
    500: '#282cb3',
    950: '#000000',
  },
}
SCSS
$custom: #282cb3;
$custom-light: #7a67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#282cb3",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 238.273,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39956,
    "c": 0.20519,
    "h": 271.1
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#282CB3
secondary
#C8C56F
accent
#E241E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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