#2A4CC3#2A4CC3

#2A4CC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.190 H 266.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2A4CC3
RGBrgb(42, 76, 195)
HSLhsl(227, 65%, 46%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(78.5%, 61%, 0%, 23.5%)
CIE-LABlab(37.11, 31.20, -65.52)
CIE-LCHlch(37.11, 72.57, 295.46°)
OKLaboklab(46.97% -0.0115 -0.1894)
OKLCHoklch(46.97% 0.19 266.5)
XYZxyz(13.3862, 9.5997, 52.7666)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CC3 #C3A12A
analogous
#2A99C3 #2A4CC3 #552AC3
triadic
#2A4CC3 #C32A4C #4CC32A
tetradic
#2A4CC3 #C32A99 #C3A12A #2AC355
square
#2A4CC3 #C32A99 #C3A12A #2AC355
split-complementary
#2A4CC3 #C3552A #99C32A
monochromatic
#14255E #1F3891 #2A4CC3 #516FD9 #8399E4

Accessibility & contrast

On white

7.19
#2A4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A4CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CC3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CC3#FFFFFF#000000##FFFFFF
##2A4CC31.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4cc3;
/* rgb */ color: rgb(42, 76, 195);
/* oklch */ color: oklch(47.0% 0.190 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c7dd6',
    500: '#2a4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4cc3;
$custom-light: #7c7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4cc3",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 226.667,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.1898,
    "h": 266.5
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#2A4CC3
secondary
#CDBB7B
accent
#C240E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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