#2E64AC#2E64AC

#2E64AC is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.128 H 256.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E64AC
RGBrgb(46, 100, 172)
HSLhsl(214, 58%, 43%)
HSVhsv(214, 73%, 67%)
CMYKcmyk(73.3%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.27, 7.31, -43.70)
CIE-LCHlch(42.27, 44.31, 279.50°)
OKLaboklab(50.42% -0.0298 -0.1248)
OKLCHoklch(50.42% 0.128 256.6)
XYZxyz(13.1276, 12.6723, 40.7759)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64AC #AC762E
analogous
#2EA3AC #2E64AC #372EAC
triadic
#2E64AC #AC2E64 #64AC2E
tetradic
#2E64AC #AC2EA3 #AC762E #2EAC37
square
#2E64AC #AC2EA3 #AC762E #2EAC37
split-complementary
#2E64AC #AC372E #A3AC2E
monochromatic
#142C4B #21487C #2E64AC #4982CE #79A3DB

Accessibility & contrast

On white

5.94
#2E64AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E64AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64AC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64AC#FFFFFF#000000##FFFFFF
##2E64AC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#2C5EAB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e64ac;
/* rgb */ color: rgb(46, 100, 172);
/* oklch */ color: oklch(50.4% 0.128 256.6);
Tailwind
colors: {
  custom: {
    50: '#778fc5',
    500: '#2e64ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e64ac;
$custom-light: #778fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64ac",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 214.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.12835,
    "h": 256.6
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#2E64AC
secondary
#C3A172
accent
#9F47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64AC

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

Preview Lab → · Contrast checker → · Palette generator →

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