#2C4FC4#2C4FC4

#2C4FC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.187 H 266.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4FC4
RGBrgb(44, 79, 196)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 78%, 77%)
CMYKcmyk(77.6%, 59.7%, 0%, 23.1%)
CIE-LABlab(38.04, 29.83, -64.58)
CIE-LCHlch(38.04, 71.14, 294.79°)
OKLaboklab(47.71% -0.0118 -0.1866)
OKLCHoklch(47.71% 0.187 266.4)
XYZxyz(13.7950, 10.1114, 53.4385)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FC4 #C4A12C
analogous
#2C9BC4 #2C4FC4 #552CC4
triadic
#2C4FC4 #C42C4F #4FC42C
tetradic
#2C4FC4 #C42C9B #C4A12C #2CC455
square
#2C4FC4 #C42C9B #C4A12C #2CC455
split-complementary
#2C4FC4 #C4552C #9BC42C
monochromatic
#162760 #213B92 #2C4FC4 #5473D9 #869CE4

Accessibility & contrast

On white

6.95
#2C4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C4FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C4FC4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FC4#FFFFFF#000000##FFFFFF
##2C4FC41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c4fc4;
/* rgb */ color: rgb(44, 79, 196);
/* oklch */ color: oklch(47.7% 0.187 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d7fd7',
    500: '#2c4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fc4;
$custom-light: #7d7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fc4",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 226.184,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.18701,
    "h": 266.4
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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