#282AAF#282AAF

#282AAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.202 H 271.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#282AAF
RGBrgb(40, 42, 175)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 77%, 69%)
CMYKcmyk(77.1%, 76%, 0%, 31.4%)
CIE-LABlab(27.30, 44.90, -69.83)
CIE-LCHlch(27.30, 83.02, 302.74°)
OKLaboklab(39.24% 0.0055 -0.2022)
OKLCHoklch(39.24% 0.202 271.5)
XYZxyz(9.4383, 5.2012, 41.0556)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AAF #AFAD28
analogous
#286EAF #282AAF #6A28AF
triadic
#282AAF #AF282A #2AAF28
tetradic
#282AAF #AF286E #AFAD28 #28AF6A
square
#282AAF #AF286E #AFAD28 #28AF6A
split-complementary
#282AAF #AF6A28 #6EAF28
monochromatic
#11124B #1D1E7D #282AAF #4143D4 #7374DF

Accessibility & contrast

On white

10.29
#282AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#282AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AAF
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AAF#FFFFFF#000000##FFFFFF
##282AAF1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282aaf;
/* rgb */ color: rgb(40, 42, 175);
/* oklch */ color: oklch(39.2% 0.202 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a65c8',
    500: '#282aaf',
    950: '#000000',
  },
}
SCSS
$custom: #282aaf;
$custom-light: #7a65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#282aaf",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 239.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.20225,
    "h": 271.5
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#282AAF
secondary
#C6C56D
accent
#E342E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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