#2A4DC1#2A4DC1

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

Color values

HEX#2A4DC1
RGBrgb(42, 77, 193)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(78.2%, 60.1%, 0%, 24.3%)
CIE-LABlab(37.20, 29.80, -64.20)
CIE-LCHlch(37.20, 70.78, 294.90°)
OKLaboklab(46.99% -0.0121 -0.1856)
OKLCHoklch(46.99% 0.186 266.3)
XYZxyz(13.2310, 9.6487, 51.6068)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DC1 #C19E2A
analogous
#2A98C1 #2A4DC1 #532AC1
triadic
#2A4DC1 #C12A4D #4DC12A
tetradic
#2A4DC1 #C12A98 #C19E2A #2AC153
square
#2A4DC1 #C12A98 #C19E2A #2AC153
split-complementary
#2A4DC1 #C1532A #98C12A
monochromatic
#14255C #1F398F #2A4DC1 #4F6FD9 #8298E4

Accessibility & contrast

On white

7.17
#2A4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A4DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DC1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DC1#FFFFFF#000000##FFFFFF
##2A4DC11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a4dc1;
/* rgb */ color: rgb(42, 77, 193);
/* oklch */ color: oklch(47.0% 0.186 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ed5',
    500: '#2a4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dc1;
$custom-light: #7c7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dc1",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 226.093,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.18598,
    "h": 266.3
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#2A4DC1
secondary
#CDBA7A
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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