#2C64B2#2C64B2

#2C64B2 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.137 H 257.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C64B2
RGBrgb(44, 100, 178)
HSLhsl(215, 60%, 44%)
HSVhsv(215, 75%, 70%)
CMYKcmyk(75.3%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.56, 9.31, -46.77)
CIE-LCHlch(42.56, 47.68, 281.26°)
OKLaboklab(50.74% -0.0299 -0.1339)
OKLCHoklch(50.74% 0.137 257.4)
XYZxyz(13.6288, 12.8626, 43.8753)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64B2 #B27A2C
analogous
#2CA7B2 #2C64B2 #372CB2
triadic
#2C64B2 #B22C64 #64B22C
tetradic
#2C64B2 #B22CA7 #B27A2C #2CB237
square
#2C64B2 #B22CA7 #B27A2C #2CB237
split-complementary
#2C64B2 #B2372C #A7B22C
monochromatic
#142D50 #204881 #2C64B2 #4982D2 #7AA4DE

Accessibility & contrast

On white

5.88
#2C64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64B2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64B2#FFFFFF#000000##FFFFFF
##2C64B21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c64b2;
/* rgb */ color: rgb(44, 100, 178);
/* oklch */ color: oklch(50.7% 0.137 257.4);
Tailwind
colors: {
  custom: {
    50: '#788fc9',
    500: '#2c64b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c64b2;
$custom-light: #788fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64b2",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 214.925,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.13717,
    "h": 257.4
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#2C64B2
secondary
#C6A473
accent
#A144E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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