#282EB3#282EB3

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

Color values

HEX#282EB3
RGBrgb(40, 46, 179)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(77.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.53, 43.97, -70.18)
CIE-LCHlch(28.53, 82.82, 302.07°)
OKLaboklab(40.24% 0.0032 -0.2032)
OKLCHoklch(40.24% 0.203 270.9)
XYZxyz(9.9860, 5.6587, 43.2050)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EB3 #B3AD28
analogous
#2873B3 #282EB3 #6728B3
triadic
#282EB3 #B3282E #2EB328
tetradic
#282EB3 #B32873 #B3AD28 #28B367
square
#282EB3 #B32873 #B3AD28 #28B367
split-complementary
#282EB3 #B36728 #73B328
monochromatic
#12144F #1D2181 #282EB3 #4349D5 #757AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282EB3#FFFFFF#000000##FFFFFF
##282EB31.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)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282eb3;
/* rgb */ color: rgb(40, 46, 179);
/* oklch */ color: oklch(40.2% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a68cb',
    500: '#282eb3',
    950: '#000000',
  },
}
SCSS
$custom: #282eb3;
$custom-light: #7a68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#282eb3",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 237.41,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40242,
    "c": 0.20326,
    "h": 270.9
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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