#282BA1#282BA1

#282BA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.184 H 272.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#282BA1
RGBrgb(40, 43, 161)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 63%)
CMYKcmyk(75.2%, 73.3%, 0%, 36.9%)
CIE-LABlab(26.01, 39.57, -63.51)
CIE-LCHlch(26.01, 74.83, 301.92°)
OKLaboklab(37.88% 0.0074 -0.1838)
OKLCHoklch(37.88% 0.184 272.3)
XYZxyz(8.1698, 4.7512, 34.1978)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA1 #A19E28
analogous
#2868A1 #282BA1 #6128A1
triadic
#282BA1 #A1282B #2BA128
tetradic
#282BA1 #A12868 #A19E28 #28A161
square
#282BA1 #A12868 #A19E28 #28A161
split-complementary
#282BA1 #A16128 #68A128
monochromatic
#10113F #1C1E70 #282BA1 #393CCE #6A6CDA

Accessibility & contrast

On white

10.77
#282BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#282BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA1
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA1#FFFFFF#000000##FFFFFF
##282BA11.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282ba1;
/* rgb */ color: rgb(40, 43, 161);
/* oklch */ color: oklch(37.9% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#7665be',
    500: '#282ba1',
    950: '#000000',
  },
}
SCSS
$custom: #282ba1;
$custom-light: #7665be;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba1",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 238.512,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37882,
    "c": 0.18394,
    "h": 272.3
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#282BA1
secondary
#C0BE65
accent
#DF44E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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