#2A4AC2#2A4AC2

#2A4AC2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.191 H 266.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A4AC2
RGBrgb(42, 74, 194)
HSLhsl(227, 64%, 46%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(78.4%, 61.9%, 0%, 23.9%)
CIE-LABlab(36.52, 32.13, -65.90)
CIE-LCHlch(36.52, 73.31, 295.99°)
OKLaboklab(46.51% -0.0103 -0.1906)
OKLCHoklch(46.51% 0.191 266.9)
XYZxyz(13.1378, 9.2833, 52.1279)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AC2 #C2A22A
analogous
#2A96C2 #2A4AC2 #562AC2
triadic
#2A4AC2 #C22A4A #4AC22A
tetradic
#2A4AC2 #C22A96 #C2A22A #2AC256
square
#2A4AC2 #C22A96 #C2A22A #2AC256
split-complementary
#2A4AC2 #C2562A #96C22A
monochromatic
#14245D #1F3790 #2A4AC2 #506DD9 #8297E4

Accessibility & contrast

On white

7.35
#2A4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A4AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AC2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AC2#FFFFFF#000000##FFFFFF
##2A4AC21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4ac2;
/* rgb */ color: rgb(42, 74, 194);
/* oklch */ color: oklch(46.5% 0.191 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7cd5',
    500: '#2a4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ac2;
$custom-light: #7c7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ac2",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 227.368,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4651,
    "c": 0.19087,
    "h": 266.9
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#2A4AC2
secondary
#CDBC7B
accent
#C440E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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