#2C66CC#2C66CC

#2C66CC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.170 H 260.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2C66CC
RGBrgb(44, 102, 204)
HSLhsl(218, 65%, 49%)
HSVhsv(218, 78%, 80%)
CMYKcmyk(78.4%, 50%, 0%, 20%)
CIE-LABlab(44.80, 17.91, -58.25)
CIE-LCHlch(44.80, 60.94, 287.10°)
OKLaboklab(53% -0.0272 -0.1676)
OKLCHoklch(53% 0.17 260.8)
XYZxyz(16.6852, 14.3959, 59.0143)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C66CC #CC922C
analogous
#2CB6CC #2C66CC #422CCC
triadic
#2C66CC #CC2C66 #66CC2C
tetradic
#2C66CC #CC2CB6 #CC922C #2CCC42
square
#2C66CC #CC2CB6 #CC922C #2CCC42
split-complementary
#2C66CC #CC422C #B6CC2C
monochromatic
#163467 #214D9A #2C66CC #5A89DB #8CADE6

Accessibility & contrast

On white

5.41
#2C66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2C66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C66CC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C66CC#FFFFFF#000000##FFFFFF
##2C66CC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c66cc;
/* rgb */ color: rgb(44, 102, 204);
/* oklch */ color: oklch(53.0% 0.170 260.8);
Tailwind
colors: {
  custom: {
    50: '#7d91dc',
    500: '#2c66cc',
    950: '#000000',
  },
}
SCSS
$custom: #2c66cc;
$custom-light: #7d91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c66cc",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 218.25,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.16981,
    "h": 260.8
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#2C66CC
secondary
#D0B483
accent
#AB40E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2C66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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