#2C4CBF#2C4CBF

#2C4CBF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.184 H 266.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2C4CBF
RGBrgb(44, 76, 191)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 77%, 75%)
CMYKcmyk(77%, 60.2%, 0%, 25.1%)
CIE-LABlab(36.86, 29.91, -63.59)
CIE-LCHlch(36.86, 70.27, 295.19°)
OKLaboklab(46.71% -0.0099 -0.1837)
OKLCHoklch(46.71% 0.184 266.9)
XYZxyz(13.0238, 9.4645, 50.4205)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CBF #BF9F2C
analogous
#2C95BF #2C4CBF #552CBF
triadic
#2C4CBF #BF2C4C #4CBF2C
tetradic
#2C4CBF #BF2C95 #BF9F2C #2CBF55
square
#2C4CBF #BF2C95 #BF9F2C #2CBF55
split-complementary
#2C4CBF #BF552C #95BF2C
monochromatic
#15245C #21388D #2C4CBF #516ED7 #8398E2

Accessibility & contrast

On white

7.26
#2C4CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2C4CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CBF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CBF#FFFFFF#000000##FFFFFF
##2C4CBF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4cbf;
/* rgb */ color: rgb(44, 76, 191);
/* oklch */ color: oklch(46.7% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7dd3',
    500: '#2c4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cbf;
$custom-light: #7c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cbf",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 226.939,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46707,
    "c": 0.18402,
    "h": 266.9
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#2C4CBF
secondary
#CCBA7B
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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