#2E64B2#2E64B2

#2E64B2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.137 H 257.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2E64B2
RGBrgb(46, 100, 178)
HSLhsl(215, 59%, 44%)
HSVhsv(215, 74%, 70%)
CMYKcmyk(74.2%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.62, 9.57, -46.65)
CIE-LCHlch(42.62, 47.62, 281.60°)
OKLaboklab(50.81% -0.0285 -0.1335)
OKLCHoklch(50.81% 0.137 257.9)
XYZxyz(13.7168, 12.9080, 43.8794)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64B2 #B27C2E
analogous
#2EA6B2 #2E64B2 #3A2EB2
triadic
#2E64B2 #B22E64 #64B22E
tetradic
#2E64B2 #B22EA6 #B27C2E #2EB23A
square
#2E64B2 #B22EA6 #B27C2E #2EB23A
split-complementary
#2E64B2 #B23A2E #A6B22E
monochromatic
#152D51 #214981 #2E64B2 #4C83D1 #7DA4DD

Accessibility & contrast

On white

5.86
#2E64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64B2#FFFFFF#000000##FFFFFF
##2E64B21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e64b2;
/* rgb */ color: rgb(46, 100, 178);
/* oklch */ color: oklch(50.8% 0.137 257.9);
Tailwind
colors: {
  custom: {
    50: '#788fc9',
    500: '#2e64b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e64b2;
$custom-light: #788fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64b2",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 215.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.13653,
    "h": 257.9
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#2E64B2
secondary
#C6A576
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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