#2A3FA3#2A3FA3

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

Color values

HEX#2A3FA3
RGBrgb(42, 63, 163)
HSLhsl(230, 59%, 40%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(74.2%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.09, 27.76, -56.39)
CIE-LCHlch(31.09, 62.85, 296.21°)
OKLaboklab(41.67% -0.0029 -0.1628)
OKLCHoklch(41.67% 0.163 269)
XYZxyz(9.3409, 6.6906, 35.4424)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FA3 #A38E2A
analogous
#2A7BA3 #2A3FA3 #522AA3
triadic
#2A3FA3 #A32A3F #3FA32A
tetradic
#2A3FA3 #A32A7B #A38E2A #2AA352
square
#2A3FA3 #A32A7B #A38E2A #2AA352
split-complementary
#2A3FA3 #A3522A #7BA32A
monochromatic
#111942 #1D2C72 #2A3FA3 #3D56CD #6E81DA

Accessibility & contrast

On white

8.98
#2A3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FA3
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FA3#FFFFFF#000000##FFFFFF
##2A3FA31.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3fa3;
/* rgb */ color: rgb(42, 63, 163);
/* oklch */ color: oklch(41.7% 0.163 269.0);
Tailwind
colors: {
  custom: {
    50: '#7573bf',
    500: '#2a3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fa3;
$custom-light: #7573bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fa3",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 229.587,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.16285,
    "h": 269
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#2A3FA3
secondary
#C0B168
accent
#C746E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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