#2A3BAD#2A3BAD

#2A3BAD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.181 H 269.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2A3BAD
RGBrgb(42, 59, 173)
HSLhsl(232, 61%, 42%)
HSVhsv(232, 76%, 68%)
CMYKcmyk(75.7%, 65.9%, 0%, 32.2%)
CIE-LABlab(30.96, 34.08, -62.60)
CIE-LCHlch(30.96, 71.27, 298.56°)
OKLaboklab(41.85% -0.0006 -0.1811)
OKLCHoklch(41.85% 0.181 269.8)
XYZxyz(10.0590, 6.6362, 40.2778)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BAD #AD9C2A
analogous
#2A7CAD #2A3BAD #5B2AAD
triadic
#2A3BAD #AD2A3B #3BAD2A
tetradic
#2A3BAD #AD2A7C #AD9C2A #2AAD5B
square
#2A3BAD #AD2A7C #AD9C2A #2AAD5B
split-complementary
#2A3BAD #AD5B2A #7CAD2A
monochromatic
#12194B #1E2A7C #2A3BAD #4355D1 #7482DD

Accessibility & contrast

On white

9.02
#2A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BAD
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BAD#FFFFFF#000000##FFFFFF
##2A3BAD1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3bad;
/* rgb */ color: rgb(42, 59, 173);
/* oklch */ color: oklch(41.8% 0.181 269.8);
Tailwind
colors: {
  custom: {
    50: '#7871c6',
    500: '#2a3bad',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bad;
$custom-light: #7871c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bad",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 232.214,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.18106,
    "h": 269.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#2A3BAD
secondary
#C5B96E
accent
#CF44E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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