#2A4DC2#2A4DC2

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

Color values

HEX#2A4DC2
RGBrgb(42, 77, 194)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(78.4%, 60.3%, 0%, 23.9%)
CIE-LABlab(37.29, 30.18, -64.65)
CIE-LCHlch(37.29, 71.35, 295.02°)
OKLaboklab(47.08% -0.0121 -0.1869)
OKLCHoklch(47.08% 0.187 266.3)
XYZxyz(13.3429, 9.6935, 52.1963)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DC2 #C29F2A
analogous
#2A99C2 #2A4DC2 #532AC2
triadic
#2A4DC2 #C22A4D #4DC22A
tetradic
#2A4DC2 #C22A99 #C29F2A #2AC253
square
#2A4DC2 #C22A99 #C29F2A #2AC253
split-complementary
#2A4DC2 #C2532A #99C22A
monochromatic
#14255D #1F3990 #2A4DC2 #5070D9 #8299E4

Accessibility & contrast

On white

7.15
#2A4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A4DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DC2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DC2#FFFFFF#000000##FFFFFF
##2A4DC21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4dc2;
/* rgb */ color: rgb(42, 77, 194);
/* oklch */ color: oklch(47.1% 0.187 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ed5',
    500: '#2a4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dc2;
$custom-light: #7c7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dc2",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 226.184,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.18729,
    "h": 266.3
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#2A4DC2
secondary
#CDBA7B
accent
#C140E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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