#2C52BF#2C52BF

#2C52BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.177 H 265.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2C52BF
RGBrgb(44, 82, 191)
HSLhsl(224, 63%, 46%)
HSVhsv(224, 77%, 75%)
CMYKcmyk(77%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.43, 25.99, -61.04)
CIE-LCHlch(38.43, 66.34, 293.07°)
OKLaboklab(47.88% -0.0139 -0.1762)
OKLCHoklch(47.88% 0.177 265.5)
XYZxyz(13.4567, 10.3301, 50.5648)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52BF #BF992C
analogous
#2C9BBF #2C52BF #4F2CBF
triadic
#2C52BF #BF2C52 #52BF2C
tetradic
#2C52BF #BF2C9B #BF992C #2CBF4F
square
#2C52BF #BF2C9B #BF992C #2CBF4F
split-complementary
#2C52BF #BF4F2C #9BBF2C
monochromatic
#15275C #213D8D #2C52BF #5174D7 #839CE2

Accessibility & contrast

On white

6.85
#2C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C52BF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52BF#FFFFFF#000000##FFFFFF
##2C52BF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c52bf;
/* rgb */ color: rgb(44, 82, 191);
/* oklch */ color: oklch(47.9% 0.177 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b82d3',
    500: '#2c52bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c52bf;
$custom-light: #7b82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52bf",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 224.49,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.17673,
    "h": 265.5
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#2C52BF
secondary
#CCB77B
accent
#BB42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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