#2C64AA#2C64AA

#2C64AA is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.126 H 255.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2C64AA
RGBrgb(44, 100, 170)
HSLhsl(213, 59%, 42%)
HSVhsv(213, 74%, 67%)
CMYKcmyk(74.1%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.08, 6.28, -42.83)
CIE-LCHlch(42.08, 43.28, 278.34°)
OKLaboklab(50.22% -0.0316 -0.1223)
OKLCHoklch(50.22% 0.126 255.5)
XYZxyz(12.8489, 12.5507, 39.7678)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64AA #AA722C
analogous
#2CA3AA #2C64AA #332CAA
triadic
#2C64AA #AA2C64 #64AA2C
tetradic
#2C64AA #AA2CA3 #AA722C #2CAA33
square
#2C64AA #AA2CA3 #AA722C #2CAA33
split-complementary
#2C64AA #AA332C #A3AA2C
monochromatic
#132B49 #1F4779 #2C64AA #4482CF #75A3DB

Accessibility & contrast

On white

5.98
#2C64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2C64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64AA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64AA#FFFFFF#000000##FFFFFF
##2C64AA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c64aa;
/* rgb */ color: rgb(44, 100, 170);
/* oklch */ color: oklch(50.2% 0.126 255.5);
Tailwind
colors: {
  custom: {
    50: '#768fc4',
    500: '#2c64aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c64aa;
$custom-light: #768fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64aa",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 213.333,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.12632,
    "h": 255.5
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#2C64AA
secondary
#C39E6F
accent
#9D46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2C64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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