#2C4EC3#2C4EC3

#2C4EC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.187 H 266.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4EC3
RGBrgb(44, 78, 195)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(77.4%, 60%, 0%, 23.5%)
CIE-LABlab(37.70, 30.10, -64.55)
CIE-LCHlch(37.70, 71.23, 295.00°)
OKLaboklab(47.43% -0.0111 -0.1866)
OKLCHoklch(47.43% 0.187 266.6)
XYZxyz(13.6100, 9.9228, 52.8172)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EC3 #C3A12C
analogous
#2C9AC3 #2C4EC3 #562CC3
triadic
#2C4EC3 #C32C4E #4EC32C
tetradic
#2C4EC3 #C32C9A #C3A12C #2CC356
square
#2C4EC3 #C32C9A #C3A12C #2CC356
split-complementary
#2C4EC3 #C3562C #9AC32C
monochromatic
#15265F #213A91 #2C4EC3 #5472D8 #869BE4

Accessibility & contrast

On white

7.04
#2C4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2C4EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EC3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EC3#FFFFFF#000000##FFFFFF
##2C4EC31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c4ec3;
/* rgb */ color: rgb(44, 78, 195);
/* oklch */ color: oklch(47.4% 0.187 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d7fd6',
    500: '#2c4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ec3;
$custom-light: #7d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ec3",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 226.49,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.18689,
    "h": 266.6
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#2C4EC3
secondary
#CDBB7E
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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