#2C64AF#2C64AF

#2C64AF is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.5% C 0.133 H 256.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2C64AF
RGBrgb(44, 100, 175)
HSLhsl(214, 60%, 43%)
HSVhsv(214, 75%, 69%)
CMYKcmyk(74.9%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.37, 8.17, -45.30)
CIE-LCHlch(42.37, 46.03, 280.22°)
OKLaboklab(50.54% -0.0305 -0.1295)
OKLCHoklch(50.54% 0.133 256.7)
XYZxyz(13.3309, 12.7435, 42.3063)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64AF #AF772C
analogous
#2CA5AF #2C64AF #352CAF
triadic
#2C64AF #AF2C64 #64AF2C
tetradic
#2C64AF #AF2CA5 #AF772C #2CAF35
square
#2C64AF #AF2CA5 #AF772C #2CAF35
split-complementary
#2C64AF #AF352C #A5AF2C
monochromatic
#132C4D #20487E #2C64AF #4782D1 #78A3DD

Accessibility & contrast

On white

5.92
#2C64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2C64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64AF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64AF#FFFFFF#000000##FFFFFF
##2C64AF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c64af;
/* rgb */ color: rgb(44, 100, 175);
/* oklch */ color: oklch(50.5% 0.133 256.7);
Tailwind
colors: {
  custom: {
    50: '#778fc7',
    500: '#2c64af',
    950: '#000000',
  },
}
SCSS
$custom: #2c64af;
$custom-light: #778fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64af",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 214.351,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.1331,
    "h": 256.7
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#2C64AF
secondary
#C5A172
accent
#9F45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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