#2C4FC3#2C4FC3

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

Color values

HEX#2C4FC3
RGBrgb(44, 79, 195)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(77.4%, 59.5%, 0%, 23.5%)
CIE-LABlab(37.96, 29.45, -64.13)
CIE-LCHlch(37.96, 70.57, 294.67°)
OKLaboklab(47.63% -0.0118 -0.1853)
OKLCHoklch(47.63% 0.186 266.4)
XYZxyz(13.6816, 10.0660, 52.8410)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FC3 #C3A02C
analogous
#2C9BC3 #2C4FC3 #552CC3
triadic
#2C4FC3 #C32C4F #4FC32C
tetradic
#2C4FC3 #C32C9B #C3A02C #2CC355
square
#2C4FC3 #C32C9B #C3A02C #2CC355
split-complementary
#2C4FC3 #C3552C #9BC32C
monochromatic
#15275F #213B91 #2C4FC3 #5473D8 #869CE4

Accessibility & contrast

On white

6.97
#2C4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2C4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C4FC3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FC3#FFFFFF#000000##FFFFFF
##2C4FC31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4fc3;
/* rgb */ color: rgb(44, 79, 195);
/* oklch */ color: oklch(47.6% 0.186 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d7fd6',
    500: '#2c4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fc3;
$custom-light: #7d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fc3",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 226.093,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.18568,
    "h": 266.4
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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