#2C47BF#2C47BF

#2C47BF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.190 H 268.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2C47BF
RGBrgb(44, 71, 191)
HSLhsl(229, 63%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(77%, 62.8%, 0%, 25.1%)
CIE-LABlab(35.60, 33.15, -65.65)
CIE-LCHlch(35.60, 73.55, 296.79°)
OKLaboklab(45.77% -0.0068 -0.1899)
OKLCHoklch(45.77% 0.19 268)
XYZxyz(12.6926, 8.8021, 50.3101)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47BF #BFA42C
analogous
#2C90BF #2C47BF #5B2CBF
triadic
#2C47BF #BF2C47 #47BF2C
tetradic
#2C47BF #BF2C90 #BFA42C #2CBF5B
square
#2C47BF #BF2C90 #BFA42C #2CBF5B
split-complementary
#2C47BF #BF5B2C #90BF2C
monochromatic
#15225C #21358D #2C47BF #516AD7 #8395E2

Accessibility & contrast

On white

7.61
#2C47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47BF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47BF#FFFFFF#000000##FFFFFF
##2C47BF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c47bf;
/* rgb */ color: rgb(44, 71, 191);
/* oklch */ color: oklch(45.8% 0.190 268.0);
Tailwind
colors: {
  custom: {
    50: '#7c7ad3',
    500: '#2c47bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c47bf;
$custom-light: #7c7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47bf",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 228.98,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.18998,
    "h": 268
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#2C47BF
secondary
#CCBD7B
accent
#C842E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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