#2A4AC3#2A4AC3

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

Color values

HEX#2A4AC3
RGBrgb(42, 74, 195)
HSLhsl(227, 65%, 46%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(78.5%, 62.1%, 0%, 23.5%)
CIE-LABlab(36.61, 32.50, -66.35)
CIE-LCHlch(36.61, 73.88, 296.10°)
OKLaboklab(46.6% -0.0103 -0.1919)
OKLCHoklch(46.6% 0.192 266.9)
XYZxyz(13.2505, 9.3284, 52.7214)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AC3 #C3A32A
analogous
#2A97C3 #2A4AC3 #572AC3
triadic
#2A4AC3 #C32A4A #4AC32A
tetradic
#2A4AC3 #C32A97 #C3A32A #2AC357
square
#2A4AC3 #C32A97 #C3A32A #2AC357
split-complementary
#2A4AC3 #C3572A #97C32A
monochromatic
#14245E #1F3791 #2A4AC3 #516DD9 #8397E4

Accessibility & contrast

On white

7.33
#2A4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A4AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AC3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AC3#FFFFFF#000000##FFFFFF
##2A4AC31.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4ac3;
/* rgb */ color: rgb(42, 74, 195);
/* oklch */ color: oklch(46.6% 0.192 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7cd6',
    500: '#2a4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ac3;
$custom-light: #7c7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ac3",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 227.451,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46599,
    "c": 0.19218,
    "h": 266.9
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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