#2A3FA0#2A3FA0

#2A3FA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.159 H 268.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2A3FA0
RGBrgb(42, 63, 160)
HSLhsl(229, 58%, 40%)
HSVhsv(229, 74%, 63%)
CMYKcmyk(73.8%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.84, 26.63, -54.98)
CIE-LCHlch(30.84, 61.09, 295.84°)
OKLaboklab(41.41% -0.0029 -0.1587)
OKLCHoklch(41.41% 0.159 268.9)
XYZxyz(9.0753, 6.5844, 34.0435)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FA0 #A08B2A
analogous
#2A7AA0 #2A3FA0 #502AA0
triadic
#2A3FA0 #A02A3F #3FA02A
tetradic
#2A3FA0 #A02A7A #A08B2A #2AA050
square
#2A3FA0 #A02A7A #A08B2A #2AA050
split-complementary
#2A3FA0 #A0502A #7AA02A
monochromatic
#11193F #1D2C70 #2A3FA0 #3C55CC #6C7FD8

Accessibility & contrast

On white

9.06
#2A3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FA0
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FA0#FFFFFF#000000##FFFFFF
##2A3FA01.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3fa0;
/* rgb */ color: rgb(42, 63, 160);
/* oklch */ color: oklch(41.4% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#7573bd',
    500: '#2a3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fa0;
$custom-light: #7573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fa0",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 229.322,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.15874,
    "h": 268.9
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#2A3FA0
secondary
#BFAF67
accent
#C646E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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