#2C47BB#2C47BB

#2C47BB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.185 H 267.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C47BB
RGBrgb(44, 71, 187)
HSLhsl(229, 62%, 45%)
HSVhsv(229, 76%, 73%)
CMYKcmyk(76.5%, 62%, 0%, 26.7%)
CIE-LABlab(35.26, 31.68, -63.86)
CIE-LCHlch(35.26, 71.29, 296.38°)
OKLaboklab(45.41% -0.0067 -0.1846)
OKLCHoklch(45.41% 0.185 267.9)
XYZxyz(12.2585, 8.6284, 48.0235)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47BB #BBA02C
analogous
#2C8FBB #2C47BB #582CBB
triadic
#2C47BB #BB2C47 #47BB2C
tetradic
#2C47BB #BB2C8F #BBA02C #2CBB58
square
#2C47BB #BB2C8F #BBA02C #2CBB58
split-complementary
#2C47BB #BB582C #8FBB2C
monochromatic
#152158 #203489 #2C47BB #4F68D6 #8093E1

Accessibility & contrast

On white

7.70
#2C47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47BB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47BB#FFFFFF#000000##FFFFFF
##2C47BB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c47bb;
/* rgb */ color: rgb(44, 71, 187);
/* oklch */ color: oklch(45.4% 0.185 267.9);
Tailwind
colors: {
  custom: {
    50: '#7b7ad0',
    500: '#2c47bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c47bb;
$custom-light: #7b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47bb",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 228.671,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.18474,
    "h": 267.9
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#2C47BB
secondary
#CABB79
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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