#2C4AC2#2C4AC2

#2C4AC2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.190 H 267.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4AC2
RGBrgb(44, 74, 194)
HSLhsl(228, 63%, 47%)
HSVhsv(228, 77%, 76%)
CMYKcmyk(77.3%, 61.9%, 0%, 23.9%)
CIE-LABlab(36.61, 32.32, -65.76)
CIE-LCHlch(36.61, 73.28, 296.17°)
OKLaboklab(46.59% -0.0086 -0.1902)
OKLCHoklch(46.59% 0.19 267.4)
XYZxyz(13.2217, 9.3266, 52.1319)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AC2 #C2A42C
analogous
#2C95C2 #2C4AC2 #592CC2
triadic
#2C4AC2 #C22C4A #4AC22C
tetradic
#2C4AC2 #C22C95 #C2A42C #2CC259
square
#2C4AC2 #C22C95 #C2A42C #2CC259
split-complementary
#2C4AC2 #C2592C #95C22C
monochromatic
#15245E #213790 #2C4AC2 #536ED8 #8598E3

Accessibility & contrast

On white

7.33
#2C4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C4AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AC2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AC2#FFFFFF#000000##FFFFFF
##2C4AC21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4ac2;
/* rgb */ color: rgb(44, 74, 194);
/* oklch */ color: oklch(46.6% 0.190 267.4);
Tailwind
colors: {
  custom: {
    50: '#7d7cd5',
    500: '#2c4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ac2;
$custom-light: #7d7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ac2",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 228,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.19036,
    "h": 267.4
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#2C4AC2
secondary
#CDBD7D
accent
#C542E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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