#2C52BD#2C52BD

#2C52BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.174 H 265.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2C52BD
RGBrgb(44, 82, 189)
HSLhsl(224, 62%, 46%)
HSVhsv(224, 77%, 74%)
CMYKcmyk(76.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.27, 25.24, -60.12)
CIE-LCHlch(38.27, 65.20, 292.77°)
OKLaboklab(47.71% -0.014 -0.1735)
OKLCHoklch(47.71% 0.174 265.4)
XYZxyz(13.2381, 10.2427, 49.4136)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52BD #BD972C
analogous
#2C9ABD #2C52BD #4E2CBD
triadic
#2C52BD #BD2C52 #52BD2C
tetradic
#2C52BD #BD2C9A #BD972C #2CBD4E
square
#2C52BD #BD2C9A #BD972C #2CBD4E
split-complementary
#2C52BD #BD4E2C #9ABD2C
monochromatic
#15275A #203C8B #2C52BD #5073D6 #829BE2

Accessibility & contrast

On white

6.89
#2C52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2C52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C52BD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52BD#FFFFFF#000000##FFFFFF
##2C52BD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c52bd;
/* rgb */ color: rgb(44, 82, 189);
/* oklch */ color: oklch(47.7% 0.174 265.4);
Tailwind
colors: {
  custom: {
    50: '#7b82d2',
    500: '#2c52bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c52bd;
$custom-light: #7b82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52bd",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 224.276,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.17405,
    "h": 265.4
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#2C52BD
secondary
#CBB67A
accent
#BB42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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