#2E64B7#2E64B7

#2E64B7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.143 H 258.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2E64B7
RGBrgb(46, 100, 183)
HSLhsl(216, 60%, 45%)
HSVhsv(216, 75%, 72%)
CMYKcmyk(74.9%, 45.4%, 0%, 28.2%)
CIE-LABlab(42.93, 11.47, -49.08)
CIE-LCHlch(42.93, 50.40, 283.15°)
OKLaboklab(51.15% -0.0276 -0.1407)
OKLCHoklch(51.15% 0.143 258.9)
XYZxyz(14.2280, 13.1125, 46.5717)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B7 #B7812E
analogous
#2EA9B7 #2E64B7 #3C2EB7
triadic
#2E64B7 #B72E64 #64B72E
tetradic
#2E64B7 #B72EA9 #B7812E #2EB73C
square
#2E64B7 #B72EA9 #B7812E #2EB73C
split-complementary
#2E64B7 #B73C2E #A9B72E
monochromatic
#152F55 #224986 #2E64B7 #4F83D3 #80A6DF

Accessibility & contrast

On white

5.80
#2E64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2E64B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64B7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B7#FFFFFF#000000##FFFFFF
##2E64B71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#1C60B5
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e64b7;
/* rgb */ color: rgb(46, 100, 183);
/* oklch */ color: oklch(51.2% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#798fcd',
    500: '#2e64b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b7;
$custom-light: #798fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b7",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 216.35,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.14334,
    "h": 258.9
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#2E64B7
secondary
#C8A979
accent
#A545E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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