#2A3DAD#2A3DAD

#2A3DAD is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.179 H 269.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A3DAD
RGBrgb(42, 61, 173)
HSLhsl(231, 61%, 42%)
HSVhsv(231, 76%, 68%)
CMYKcmyk(75.7%, 64.7%, 0%, 32.2%)
CIE-LABlab(31.45, 32.78, -61.80)
CIE-LCHlch(31.45, 69.95, 297.95°)
OKLaboklab(42.21% -0.0018 -0.1787)
OKLCHoklch(42.21% 0.179 269.4)
XYZxyz(10.1638, 6.8458, 40.3128)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DAD #AD9A2A
analogous
#2A7EAD #2A3DAD #592AAD
triadic
#2A3DAD #AD2A3D #3DAD2A
tetradic
#2A3DAD #AD2A7E #AD9A2A #2AAD59
square
#2A3DAD #AD2A7E #AD9A2A #2AAD59
split-complementary
#2A3DAD #AD592A #7EAD2A
monochromatic
#121A4B #1E2C7C #2A3DAD #4358D1 #7483DD

Accessibility & contrast

On white

8.86
#2A3DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A3DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DAD
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DAD#FFFFFF#000000##FFFFFF
##2A3DAD1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3dad;
/* rgb */ color: rgb(42, 61, 173);
/* oklch */ color: oklch(42.2% 0.179 269.4);
Tailwind
colors: {
  custom: {
    50: '#7872c6',
    500: '#2a3dad',
    950: '#000000',
  },
}
SCSS
$custom: #2a3dad;
$custom-light: #7872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3dad",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 231.298,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.17871,
    "h": 269.4
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#2A3DAD
secondary
#C5B86E
accent
#CD44E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3DAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva