#2A4DC3#2A4DC3

#2A4DC3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.189 H 266.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4DC3
RGBrgb(42, 77, 195)
HSLhsl(226, 65%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(78.5%, 60.5%, 0%, 23.5%)
CIE-LABlab(37.37, 30.55, -65.10)
CIE-LCHlch(37.37, 71.91, 295.14°)
OKLaboklab(47.16% -0.0121 -0.1882)
OKLCHoklch(47.16% 0.189 266.3)
XYZxyz(13.4556, 9.7386, 52.7898)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DC3 #C3A02A
analogous
#2A9AC3 #2A4DC3 #542AC3
triadic
#2A4DC3 #C32A4D #4DC32A
tetradic
#2A4DC3 #C32A9A #C3A02A #2AC354
square
#2A4DC3 #C32A9A #C3A02A #2AC354
split-complementary
#2A4DC3 #C3542A #9AC32A
monochromatic
#14255E #1F3991 #2A4DC3 #5170D9 #8399E4

Accessibility & contrast

On white

7.12
#2A4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A4DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DC3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DC3#FFFFFF#000000##FFFFFF
##2A4DC31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4dc3;
/* rgb */ color: rgb(42, 77, 195);
/* oklch */ color: oklch(47.2% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ed6',
    500: '#2a4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dc3;
$custom-light: #7c7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dc3",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 226.275,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.18861,
    "h": 266.3
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#2A4DC3
secondary
#CDBB7B
accent
#C140E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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