#2C66C6#2C66C6

#2C66C6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.162 H 260.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2C66C6
RGBrgb(44, 102, 198)
HSLhsl(217, 64%, 47%)
HSVhsv(217, 78%, 78%)
CMYKcmyk(77.8%, 48.5%, 0%, 22.4%)
CIE-LABlab(44.40, 15.63, -55.44)
CIE-LCHlch(44.40, 57.60, 285.75°)
OKLaboklab(52.57% -0.0281 -0.1593)
OKLCHoklch(52.57% 0.162 260)
XYZxyz(15.9794, 14.1136, 55.2971)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C66C6 #C68C2C
analogous
#2CB3C6 #2C66C6 #3F2CC6
triadic
#2C66C6 #C62C66 #66C62C
tetradic
#2C66C6 #C62CB3 #C68C2C #2CC63F
square
#2C66C6 #C62CB3 #C68C2C #2CC63F
split-complementary
#2C66C6 #C63F2C #B3C62C
monochromatic
#163262 #214C94 #2C66C6 #5687D9 #88ABE5

Accessibility & contrast

On white

5.49
#2C66C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2C66C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C66C6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C66C6#FFFFFF#000000##FFFFFF
##2C66C61.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F70CA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c66c6;
/* rgb */ color: rgb(44, 102, 198);
/* oklch */ color: oklch(52.6% 0.162 260.0);
Tailwind
colors: {
  custom: {
    50: '#7c91d8',
    500: '#2c66c6',
    950: '#000000',
  },
}
SCSS
$custom: #2c66c6;
$custom-light: #7c91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c66c6",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 198
  },
  "hsl": {
    "h": 217.403,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.1618,
    "h": 260
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#2C66C6
secondary
#CEB180
accent
#A841E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C66C6

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

Preview Lab → · Contrast checker → · Palette generator →

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