#282AA3#282AA3

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

Color values

HEX#282AA3
RGBrgb(40, 42, 163)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 75%, 64%)
CMYKcmyk(75.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(26.01, 40.85, -64.73)
CIE-LCHlch(26.01, 76.54, 302.25°)
OKLaboklab(37.94% 0.0076 -0.1873)
OKLCHoklch(37.94% 0.187 272.3)
XYZxyz(8.3117, 4.7505, 35.1221)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA3 #A3A128
analogous
#2868A3 #282AA3 #6328A3
triadic
#282AA3 #A3282A #2AA328
tetradic
#282AA3 #A32868 #A3A128 #28A363
square
#282AA3 #A32868 #A3A128 #28A363
split-complementary
#282AA3 #A36328 #68A328
monochromatic
#101141 #1C1D72 #282AA3 #3A3CCF #6B6DDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282AA3#FFFFFF#000000##FFFFFF
##282AA31.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)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282aa3;
/* rgb */ color: rgb(40, 42, 163);
/* oklch */ color: oklch(37.9% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#7765bf',
    500: '#282aa3',
    950: '#000000',
  },
}
SCSS
$custom: #282aa3;
$custom-light: #7765bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa3",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 239.024,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37943,
    "c": 0.18748,
    "h": 272.3
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#282AA3
secondary
#C1C066
accent
#E144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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