#2C62C9#2C62C9

#2C62C9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.171 H 261.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2C62C9
RGBrgb(44, 98, 201)
HSLhsl(219, 64%, 48%)
HSVhsv(219, 78%, 79%)
CMYKcmyk(78.1%, 51.2%, 0%, 21.2%)
CIE-LABlab(43.49, 19.35, -58.63)
CIE-LCHlch(43.49, 61.75, 288.27°)
OKLaboklab(51.94% -0.0246 -0.1688)
OKLCHoklch(51.94% 0.171 261.7)
XYZxyz(15.9452, 13.4860, 57.0097)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62C9 #C9932C
analogous
#2CB0C9 #2C62C9 #442CC9
triadic
#2C62C9 #C92C62 #62C92C
tetradic
#2C62C9 #C92CB0 #C9932C #2CC944
square
#2C62C9 #C92CB0 #C9932C #2CC944
split-complementary
#2C62C9 #C9442C #B0C92C
monochromatic
#163165 #214A97 #2C62C9 #5885DA #8AA9E5

Accessibility & contrast

On white

5.68
#2C62C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2C62C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62C9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62C9#FFFFFF#000000##FFFFFF
##2C62C91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c62c9;
/* rgb */ color: rgb(44, 98, 201);
/* oklch */ color: oklch(51.9% 0.171 261.7);
Tailwind
colors: {
  custom: {
    50: '#7d8eda',
    500: '#2c62c9',
    950: '#000000',
  },
}
SCSS
$custom: #2c62c9;
$custom-light: #7d8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62c9",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 201
  },
  "hsl": {
    "h": 219.363,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.17062,
    "h": 261.7
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C62C9

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

Preview Lab → · Contrast checker → · Palette generator →

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