#2C64DB#2C64DB

#2C64DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.192 H 262.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C64DB
RGBrgb(44, 100, 219)
HSLhsl(221, 71%, 52%)
HSVhsv(221, 80%, 86%)
CMYKcmyk(79.9%, 54.3%, 0%, 14.1%)
CIE-LABlab(45.31, 24.87, -65.99)
CIE-LCHlch(45.31, 70.52, 290.65°)
OKLaboklab(53.72% -0.0242 -0.1904)
OKLCHoklch(53.72% 0.192 262.7)
XYZxyz(18.3775, 14.7621, 68.8849)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64DB #DBA32C
analogous
#2CBCDB #2C64DB #4C2CDB
triadic
#2C64DB #DB2C64 #64DB2C
tetradic
#2C64DB #DB2CBC #DBA32C #2CDB4C
square
#2C64DB #DB2CBC #DBA32C #2CDB4C
split-complementary
#2C64DB #DB4C2C #BCDB2C
monochromatic
#143478 #1D4BAC #2C64DB #608AE4 #95B1ED

Accessibility & contrast

On white

5.31
#2C64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64DB#FFFFFF#000000##FFFFFF
##2C64DB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c64db;
/* rgb */ color: rgb(44, 100, 219);
/* oklch */ color: oklch(53.7% 0.192 262.7);
Tailwind
colors: {
  custom: {
    50: '#818fe7',
    500: '#2c64db',
    950: '#000000',
  },
}
SCSS
$custom: #2c64db;
$custom-light: #818fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64db",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 220.8,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.19197,
    "h": 262.7
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#2C64DB
secondary
#D8BF8B
accent
#B43AEE
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2C64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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