#2C62CA#2C62CA

#2C62CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.172 H 261.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2C62CA
RGBrgb(44, 98, 202)
HSLhsl(219, 64%, 48%)
HSVhsv(219, 78%, 79%)
CMYKcmyk(78.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(43.56, 19.73, -59.10)
CIE-LCHlch(43.56, 62.31, 288.46°)
OKLaboklab(52.01% -0.0245 -0.1702)
OKLCHoklch(52.01% 0.172 261.8)
XYZxyz(16.0632, 13.5332, 57.6312)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62CA #CA942C
analogous
#2CB1CA #2C62CA #452CCA
triadic
#2C62CA #CA2C62 #62CA2C
tetradic
#2C62CA #CA2CB1 #CA942C #2CCA45
square
#2C62CA #CA2CB1 #CA942C #2CCA45
split-complementary
#2C62CA #CA452C #B1CA2C
monochromatic
#163165 #214A98 #2C62CA #5885DB #8BAAE6

Accessibility & contrast

On white

5.66
#2C62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2C62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62CA#FFFFFF#000000##FFFFFF
##2C62CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c62ca;
/* rgb */ color: rgb(44, 98, 202);
/* oklch */ color: oklch(52.0% 0.172 261.8);
Tailwind
colors: {
  custom: {
    50: '#7d8edb',
    500: '#2c62ca',
    950: '#000000',
  },
}
SCSS
$custom: #2c62ca;
$custom-light: #7d8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62ca",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 219.494,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.17196,
    "h": 261.8
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#2C62CA
secondary
#D0B582
accent
#AE41E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2C62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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