#2C52AE#2C52AE

#2C52AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.154 H 264.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2C52AE
RGBrgb(44, 82, 174)
HSLhsl(222, 60%, 43%)
HSVhsv(222, 75%, 68%)
CMYKcmyk(74.7%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.16, 19.54, -53.09)
CIE-LCHlch(37.16, 56.57, 290.20°)
OKLaboklab(46.52% -0.0152 -0.1528)
OKLCHoklch(46.52% 0.154 264.3)
XYZxyz(11.6933, 9.6248, 41.2777)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52AE #AE882C
analogous
#2C93AE #2C52AE #472CAE
triadic
#2C52AE #AE2C52 #52AE2C
tetradic
#2C52AE #AE2C93 #AE882C #2CAE47
square
#2C52AE #AE2C93 #AE882C #2CAE47
split-complementary
#2C52AE #AE472C #93AE2C
monochromatic
#13244C #203B7D #2C52AE #476FD0 #7895DD

Accessibility & contrast

On white

7.18
#2C52AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C52AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C52AE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52AE#FFFFFF#000000##FFFFFF
##2C52AE1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c52ae;
/* rgb */ color: rgb(44, 82, 174);
/* oklch */ color: oklch(46.5% 0.154 264.3);
Tailwind
colors: {
  custom: {
    50: '#7782c7',
    500: '#2c52ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c52ae;
$custom-light: #7782c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52ae",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 222.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.15358,
    "h": 264.3
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#2C52AE
secondary
#C5AC71
accent
#B545E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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