#2C66DB#2C66DB

#2C66DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.190 H 262.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C66DB
RGBrgb(44, 102, 219)
HSLhsl(220, 71%, 52%)
HSVhsv(220, 80%, 86%)
CMYKcmyk(79.9%, 53.4%, 0%, 14.1%)
CIE-LABlab(45.84, 23.59, -65.13)
CIE-LCHlch(45.84, 69.27, 289.91°)
OKLaboklab(54.13% -0.0256 -0.1878)
OKLCHoklch(54.13% 0.19 262.2)
XYZxyz(18.5717, 15.1505, 68.9496)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C66DB #DBA12C
analogous
#2CBEDB #2C66DB #4A2CDB
triadic
#2C66DB #DB2C66 #66DB2C
tetradic
#2C66DB #DB2CBE #DBA12C #2CDB4A
square
#2C66DB #DB2CBE #DBA12C #2CDB4A
split-complementary
#2C66DB #DB4A2C #BEDB2C
monochromatic
#143678 #1D4DAC #2C66DB #608CE4 #95B2ED

Accessibility & contrast

On white

5.21
#2C66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2C66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C66DB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C66DB#FFFFFF#000000##FFFFFF
##2C66DB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c66db;
/* rgb */ color: rgb(44, 102, 219);
/* oklch */ color: oklch(54.1% 0.190 262.2);
Tailwind
colors: {
  custom: {
    50: '#8190e7',
    500: '#2c66db',
    950: '#000000',
  },
}
SCSS
$custom: #2c66db;
$custom-light: #8190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c66db",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 220.114,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.18958,
    "h": 262.2
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#2C66DB
secondary
#D8BE8B
accent
#B23AEE
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2C66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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