#2C61D4#2C61D4

#2C61D4 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.186 H 263.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2C61D4
RGBrgb(44, 97, 212)
HSLhsl(221, 66%, 50%)
HSVhsv(221, 79%, 83%)
CMYKcmyk(79.2%, 54.2%, 0%, 16.9%)
CIE-LABlab(44.00, 24.17, -64.12)
CIE-LCHlch(44.00, 68.53, 290.65°)
OKLaboklab(52.57% -0.0228 -0.185)
OKLCHoklch(52.57% 0.186 263)
XYZxyz(17.1928, 13.8363, 64.0391)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61D4 #D49F2C
analogous
#2CB5D4 #2C61D4 #4B2CD4
triadic
#2C61D4 #D42C61 #61D42C
tetradic
#2C61D4 #D42CB5 #D49F2C #2CD44B
square
#2C61D4 #D42CB5 #D49F2C #2CD44B
split-complementary
#2C61D4 #D44B2C #B5D42C
monochromatic
#17326F #214AA2 #2C61D4 #5F87DE #92ADE9

Accessibility & contrast

On white

5.57
#2C61D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2C61D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C61D4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C61D4#FFFFFF#000000##FFFFFF
##2C61D41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c61d4;
/* rgb */ color: rgb(44, 97, 212);
/* oklch */ color: oklch(52.6% 0.186 263.0);
Tailwind
colors: {
  custom: {
    50: '#7f8de2',
    500: '#2c61d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c61d4;
$custom-light: #7f8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61d4",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 221.071,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.1864,
    "h": 263
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#2C61D4
secondary
#D3BC88
accent
#B33FE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2C61D4

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

Preview Lab → · Contrast checker → · Palette generator →

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