#2E64AF#2E64AF

#2E64AF is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.6% C 0.132 H 257.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2E64AF
RGBrgb(46, 100, 175)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 74%, 69%)
CMYKcmyk(73.7%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.44, 8.44, -45.18)
CIE-LCHlch(42.44, 45.96, 280.58°)
OKLaboklab(50.62% -0.0292 -0.1292)
OKLCHoklch(50.62% 0.132 257.3)
XYZxyz(13.4189, 12.7888, 42.3104)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64AF #AF792E
analogous
#2EA4AF #2E64AF #392EAF
triadic
#2E64AF #AF2E64 #64AF2E
tetradic
#2E64AF #AF2EA4 #AF792E #2EAF39
square
#2E64AF #AF2EA4 #AF792E #2EAF39
split-complementary
#2E64AF #AF392E #A4AF2E
monochromatic
#152D4E #21487F #2E64AF #4B82D0 #7BA4DC

Accessibility & contrast

On white

5.90
#2E64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64AF#FFFFFF#000000##FFFFFF
##2E64AF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e64af;
/* rgb */ color: rgb(46, 100, 175);
/* oklch */ color: oklch(50.6% 0.132 257.3);
Tailwind
colors: {
  custom: {
    50: '#788fc7',
    500: '#2e64af',
    950: '#000000',
  },
}
SCSS
$custom: #2e64af;
$custom-light: #788fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64af",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 214.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.13244,
    "h": 257.3
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#2E64AF
secondary
#C5A374
accent
#A146E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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