#2C47BE#2C47BE

#2C47BE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.189 H 267.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C47BE
RGBrgb(44, 71, 190)
HSLhsl(229, 62%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(76.8%, 62.6%, 0%, 25.5%)
CIE-LABlab(35.51, 32.79, -65.21)
CIE-LCHlch(35.51, 72.98, 296.69°)
OKLaboklab(45.68% -0.0067 -0.1886)
OKLCHoklch(45.68% 0.189 267.9)
XYZxyz(12.5830, 8.7582, 49.7326)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47BE #BEA32C
analogous
#2C90BE #2C47BE #5A2CBE
triadic
#2C47BE #BE2C47 #47BE2C
tetradic
#2C47BE #BE2C90 #BEA32C #2CBE5A
square
#2C47BE #BE2C90 #BEA32C #2CBE5A
split-complementary
#2C47BE #BE5A2C #90BE2C
monochromatic
#15225B #20348C #2C47BE #5169D7 #8294E2

Accessibility & contrast

On white

7.63
#2C47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47BE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47BE#FFFFFF#000000##FFFFFF
##2C47BE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c47be;
/* rgb */ color: rgb(44, 71, 190);
/* oklch */ color: oklch(45.7% 0.189 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ad3',
    500: '#2c47be',
    950: '#000000',
  },
}
SCSS
$custom: #2c47be;
$custom-light: #7c7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47be",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 228.904,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.18868,
    "h": 267.9
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2C47BE
secondary
#CBBC7B
accent
#C742E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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