#2E64B3#2E64B3

#2E64B3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.138 H 258.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2E64B3
RGBrgb(46, 100, 179)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(74.3%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.69, 9.95, -47.14)
CIE-LCHlch(42.69, 48.18, 281.92°)
OKLaboklab(50.88% -0.0283 -0.1349)
OKLCHoklch(50.88% 0.138 258.1)
XYZxyz(13.8176, 12.9483, 44.4101)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B3 #B37D2E
analogous
#2EA7B3 #2E64B3 #3B2EB3
triadic
#2E64B3 #B32E64 #64B32E
tetradic
#2E64B3 #B32EA7 #B37D2E #2EB33B
square
#2E64B3 #B32EA7 #B37D2E #2EB33B
split-complementary
#2E64B3 #B33B2E #A7B32E
monochromatic
#152E52 #214982 #2E64B3 #4D83D1 #7EA5DE

Accessibility & contrast

On white

5.85
#2E64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2E64B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64B3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B3#FFFFFF#000000##FFFFFF
##2E64B31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB6
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e64b3;
/* rgb */ color: rgb(46, 100, 179);
/* oklch */ color: oklch(50.9% 0.138 258.1);
Tailwind
colors: {
  custom: {
    50: '#798fca',
    500: '#2e64b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b3;
$custom-light: #798fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b3",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 215.639,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.13789,
    "h": 258.1
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#2E64B3
secondary
#C6A676
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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