#2A4BC3#2A4BC3

#2A4BC3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.191 H 266.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A4BC3
RGBrgb(42, 75, 195)
HSLhsl(227, 65%, 46%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(78.5%, 61.5%, 0%, 23.5%)
CIE-LABlab(36.86, 31.85, -65.93)
CIE-LCHlch(36.86, 73.22, 295.78°)
OKLaboklab(46.79% -0.0109 -0.1907)
OKLCHoklch(46.79% 0.191 266.7)
XYZxyz(13.3178, 9.4630, 52.7438)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BC3 #C3A22A
analogous
#2A98C3 #2A4BC3 #562AC3
triadic
#2A4BC3 #C32A4B #4BC32A
tetradic
#2A4BC3 #C32A98 #C3A22A #2AC356
square
#2A4BC3 #C32A98 #C3A22A #2AC356
split-complementary
#2A4BC3 #C3562A #98C32A
monochromatic
#14245E #1F3891 #2A4BC3 #516ED9 #8398E4

Accessibility & contrast

On white

7.26
#2A4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A4BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BC3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BC3#FFFFFF#000000##FFFFFF
##2A4BC31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a4bc3;
/* rgb */ color: rgb(42, 75, 195);
/* oklch */ color: oklch(46.8% 0.191 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7dd6',
    500: '#2a4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bc3;
$custom-light: #7c7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bc3",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 227.059,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.19099,
    "h": 266.7
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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