#2E64A6#2E64A6

#2E64A6 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.0% C 0.120 H 255.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E64A6
RGBrgb(46, 100, 166)
HSLhsl(213, 57%, 42%)
HSVhsv(213, 72%, 65%)
CMYKcmyk(72.3%, 39.8%, 0%, 34.9%)
CIE-LABlab(41.92, 5.06, -40.72)
CIE-LCHlch(41.92, 41.03, 277.08°)
OKLaboklab(50.04% -0.0312 -0.1161)
OKLCHoklch(50.04% 0.12 255)
XYZxyz(12.5643, 12.4470, 37.8093)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64A6 #A6702E
analogous
#2EA0A6 #2E64A6 #342EA6
triadic
#2E64A6 #A62E64 #64A62E
tetradic
#2E64A6 #A62EA0 #A6702E #2EA634
square
#2E64A6 #A62EA0 #A6702E #2EA634
split-complementary
#2E64A6 #A6342E #A0A62E
monochromatic
#132A46 #214776 #2E64A6 #4682CC #76A2D9

Accessibility & contrast

On white

6.02
#2E64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64A6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64A6#FFFFFF#000000##FFFFFF
##2E64A61.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e64a6;
/* rgb */ color: rgb(46, 100, 166);
/* oklch */ color: oklch(50.0% 0.120 255.0);
Tailwind
colors: {
  custom: {
    50: '#768fc1',
    500: '#2e64a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e64a6;
$custom-light: #768fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64a6",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 213,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.12019,
    "h": 255
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#2E64A6
secondary
#C19C6F
accent
#9B48E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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