#2A3FA4#2A3FA4

#2A3FA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.164 H 269.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A3FA4
RGBrgb(42, 63, 164)
HSLhsl(230, 59%, 40%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(74.4%, 61.6%, 0%, 35.7%)
CIE-LABlab(31.18, 28.13, -56.85)
CIE-LCHlch(31.18, 63.43, 296.33°)
OKLaboklab(41.76% -0.0029 -0.1642)
OKLCHoklch(41.76% 0.164 269)
XYZxyz(9.4309, 6.7266, 35.9161)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FA4 #A48F2A
analogous
#2A7CA4 #2A3FA4 #522AA4
triadic
#2A3FA4 #A42A3F #3FA42A
tetradic
#2A3FA4 #A42A7C #A48F2A #2AA452
square
#2A3FA4 #A42A7C #A48F2A #2AA452
split-complementary
#2A3FA4 #A4522A #7CA42A
monochromatic
#111A43 #1E2C73 #2A3FA4 #3E56CD #6E81DA

Accessibility & contrast

On white

8.95
#2A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FA4
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FA4#FFFFFF#000000##FFFFFF
##2A3FA41.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3fa4;
/* rgb */ color: rgb(42, 63, 164);
/* oklch */ color: oklch(41.8% 0.164 269.0);
Tailwind
colors: {
  custom: {
    50: '#7673c0',
    500: '#2a3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fa4;
$custom-light: #7673c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fa4",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 229.672,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.16422,
    "h": 269
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#2A3FA4
secondary
#C1B269
accent
#C745E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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