#2C64A2#2C64A2

#2C64A2 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.7% C 0.116 H 253.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2C64A2
RGBrgb(44, 100, 162)
HSLhsl(212, 57%, 40%)
HSVhsv(212, 73%, 64%)
CMYKcmyk(72.8%, 38.3%, 0%, 36.5%)
CIE-LABlab(41.62, 3.26, -38.82)
CIE-LCHlch(41.62, 38.96, 274.80°)
OKLaboklab(49.71% -0.0336 -0.1106)
OKLCHoklch(49.71% 0.116 253.1)
XYZxyz(12.1150, 12.2571, 35.9028)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64A2 #A26A2C
analogous
#2C9FA2 #2C64A2 #2F2CA2
triadic
#2C64A2 #A22C64 #64A22C
tetradic
#2C64A2 #A22C9F #A26A2C #2CA22F
square
#2C64A2 #A22C9F #A26A2C #2CA22F
split-complementary
#2C64A2 #A22F2C #9FA22C
monochromatic
#122942 #1F4672 #2C64A2 #4082CB #70A2D8

Accessibility & contrast

On white

6.08
#2C64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2C64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64A2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64A2#FFFFFF#000000##FFFFFF
##2C64A21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#365DA1
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c64a2;
/* rgb */ color: rgb(44, 100, 162);
/* oklch */ color: oklch(49.7% 0.116 253.1);
Tailwind
colors: {
  custom: {
    50: '#748fbe',
    500: '#2c64a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c64a2;
$custom-light: #748fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64a2",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 211.525,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.11554,
    "h": 253.1
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#2C64A2
secondary
#BF976A
accent
#9847E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C64A2

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

Preview Lab → · Contrast checker → · Palette generator →

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