#2C62C0#2C62C0

#2C62C0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.159 H 260.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2C62C0
RGBrgb(44, 98, 192)
HSLhsl(218, 63%, 46%)
HSVhsv(218, 77%, 75%)
CMYKcmyk(77.1%, 49%, 0%, 24.7%)
CIE-LABlab(42.88, 15.93, -54.42)
CIE-LCHlch(42.88, 56.70, 286.32°)
OKLaboklab(51.28% -0.0258 -0.1564)
OKLCHoklch(51.28% 0.159 260.6)
XYZxyz(14.9174, 13.0749, 51.5965)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62C0 #C08A2C
analogous
#2CACC0 #2C62C0 #402CC0
triadic
#2C62C0 #C02C62 #62C02C
tetradic
#2C62C0 #C02CAC #C08A2C #2CC040
square
#2C62C0 #C02CAC #C08A2C #2CC040
split-complementary
#2C62C0 #C0402C #ACC02C
monochromatic
#152F5C #21498E #2C62C0 #5283D7 #84A6E3

Accessibility & contrast

On white

5.81
#2C62C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C62C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62C0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62C0#FFFFFF#000000##FFFFFF
##2C62C01.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c62c0;
/* rgb */ color: rgb(44, 98, 192);
/* oklch */ color: oklch(51.3% 0.159 260.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ed4',
    500: '#2c62c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c62c0;
$custom-light: #7b8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62c0",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 218.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.15853,
    "h": 260.6
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#2C62C0
secondary
#CCAF7C
accent
#AA42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C62C0

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

Preview Lab → · Contrast checker → · Palette generator →

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