#2A3FAD#2A3FAD

#2A3FAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.176 H 269.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2A3FAD
RGBrgb(42, 63, 173)
HSLhsl(230, 61%, 42%)
HSVhsv(230, 76%, 68%)
CMYKcmyk(75.7%, 63.6%, 0%, 32.2%)
CIE-LABlab(31.95, 31.48, -60.98)
CIE-LCHlch(31.95, 68.63, 297.31°)
OKLaboklab(42.57% -0.0031 -0.1763)
OKLCHoklch(42.57% 0.176 269)
XYZxyz(10.2726, 7.0633, 40.3490)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FAD #AD982A
analogous
#2A80AD #2A3FAD #572AAD
triadic
#2A3FAD #AD2A3F #3FAD2A
tetradic
#2A3FAD #AD2A80 #AD982A #2AAD57
square
#2A3FAD #AD2A80 #AD982A #2AAD57
split-complementary
#2A3FAD #AD572A #80AD2A
monochromatic
#121B4B #1E2D7C #2A3FAD #435AD1 #7485DD

Accessibility & contrast

On white

8.70
#2A3FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A3FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FAD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FAD#FFFFFF#000000##FFFFFF
##2A3FAD1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3fad;
/* rgb */ color: rgb(42, 63, 173);
/* oklch */ color: oklch(42.6% 0.176 269.0);
Tailwind
colors: {
  custom: {
    50: '#7874c6',
    500: '#2a3fad',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fad;
$custom-light: #7874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fad",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 173
  },
  "hsl": {
    "h": 230.382,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.17633,
    "h": 269
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#2A3FAD
secondary
#C5B76E
accent
#CA44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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