#282AA7#282AA7

#282AA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 272.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#282AA7
RGBrgb(40, 42, 167)
HSLhsl(239, 61%, 41%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(76%, 74.9%, 0%, 34.5%)
CIE-LABlab(26.44, 42.21, -66.45)
CIE-LCHlch(26.44, 78.72, 302.42°)
OKLaboklab(38.37% 0.0069 -0.1923)
OKLCHoklch(38.37% 0.192 272.1)
XYZxyz(8.6757, 4.8961, 37.0395)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA7 #A7A528
analogous
#2869A7 #282AA7 #6528A7
triadic
#282AA7 #A7282A #2AA728
tetradic
#282AA7 #A72869 #A7A528 #28A765
square
#282AA7 #A72869 #A7A528 #28A765
split-complementary
#282AA7 #A76528 #69A728
monochromatic
#101144 #1C1E76 #282AA7 #3C3ED0 #6D6FDC

Accessibility & contrast

On white

10.61
#282AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#282AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA7
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA7#FFFFFF#000000##FFFFFF
##282AA71.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282aa7;
/* rgb */ color: rgb(40, 42, 167);
/* oklch */ color: oklch(38.4% 0.192 272.1);
Tailwind
colors: {
  custom: {
    50: '#7865c2',
    500: '#282aa7',
    950: '#000000',
  },
}
SCSS
$custom: #282aa7;
$custom-light: #7865c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa7",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 239.055,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.19245,
    "h": 272.1
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#282AA7
secondary
#C3C168
accent
#E243E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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