#2A4DC0#2A4DC0

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

Color values

HEX#2A4DC0
RGBrgb(42, 77, 192)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 75%)
CMYKcmyk(78.1%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.12, 29.43, -63.75)
CIE-LCHlch(37.12, 70.22, 294.78°)
OKLaboklab(46.9% -0.0122 -0.1843)
OKLCHoklch(46.9% 0.185 266.2)
XYZxyz(13.1198, 9.6043, 51.0213)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DC0 #C09D2A
analogous
#2A98C0 #2A4DC0 #522AC0
triadic
#2A4DC0 #C02A4D #4DC02A
tetradic
#2A4DC0 #C02A98 #C09D2A #2AC052
square
#2A4DC0 #C02A98 #C09D2A #2AC052
split-complementary
#2A4DC0 #C0522A #98C02A
monochromatic
#14255C #1F398E #2A4DC0 #4F6FD8 #8198E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4DC0#FFFFFF#000000##FFFFFF
##2A4DC01.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)
#005FC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a4dc0;
/* rgb */ color: rgb(42, 77, 192);
/* oklch */ color: oklch(46.9% 0.185 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b7ed4',
    500: '#2a4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dc0;
$custom-light: #7b7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dc0",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 226,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.18466,
    "h": 266.2
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#2A4DC0
secondary
#CCB97A
accent
#C041E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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