#2C4EBC#2C4EBC

#2C4EBC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.178 H 266.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2C4EBC
RGBrgb(44, 78, 188)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(76.6%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.14, 27.48, -61.38)
CIE-LCHlch(37.14, 67.25, 294.12°)
OKLaboklab(46.84% -0.0113 -0.1772)
OKLCHoklch(46.84% 0.178 266.3)
XYZxyz(12.8370, 9.6137, 48.7463)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EBC #BC9A2C
analogous
#2C96BC #2C4EBC #522CBC
triadic
#2C4EBC #BC2C4E #4EBC2C
tetradic
#2C4EBC #BC2C96 #BC9A2C #2CBC52
square
#2C4EBC #BC2C96 #BC9A2C #2CBC52
split-complementary
#2C4EBC #BC522C #96BC2C
monochromatic
#152559 #20398A #2C4EBC #4F6FD6 #8198E1

Accessibility & contrast

On white

7.18
#2C4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2C4EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EBC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EBC#FFFFFF#000000##FFFFFF
##2C4EBC1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4ebc;
/* rgb */ color: rgb(44, 78, 188);
/* oklch */ color: oklch(46.8% 0.178 266.3);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2c4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ebc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ebc",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 225.833,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.1776,
    "h": 266.3
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#2C4EBC
secondary
#CAB779
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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