#2E64AA#2E64AA

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

Color values

HEX#2E64AA
RGBrgb(46, 100, 170)
HSLhsl(214, 57%, 42%)
HSVhsv(214, 73%, 67%)
CMYKcmyk(72.9%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.15, 6.56, -42.71)
CIE-LCHlch(42.15, 43.21, 278.73°)
OKLaboklab(50.29% -0.0302 -0.1219)
OKLCHoklch(50.29% 0.126 256.1)
XYZxyz(12.9369, 12.5960, 39.7719)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64AA #AA742E
analogous
#2EA2AA #2E64AA #362EAA
triadic
#2E64AA #AA2E64 #64AA2E
tetradic
#2E64AA #AA2EA2 #AA742E #2EAA36
square
#2E64AA #AA2EA2 #AA742E #2EAA36
split-complementary
#2E64AA #AA362E #A2AA2E
monochromatic
#142B4A #21487A #2E64AA #4882CD #78A3DA

Accessibility & contrast

On white

5.97
#2E64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2E64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64AA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64AA#FFFFFF#000000##FFFFFF
##2E64AA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e64aa;
/* rgb */ color: rgb(46, 100, 170);
/* oklch */ color: oklch(50.3% 0.126 256.1);
Tailwind
colors: {
  custom: {
    50: '#778fc4',
    500: '#2e64aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e64aa;
$custom-light: #778fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64aa",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 213.871,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.12562,
    "h": 256.1
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#2E64AA
secondary
#C39F71
accent
#9E47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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