#2E64BD#2E64BD

#2E64BD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.151 H 259.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E64BD
RGBrgb(46, 100, 189)
HSLhsl(217, 61%, 46%)
HSVhsv(217, 76%, 74%)
CMYKcmyk(75.7%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.31, 13.74, -51.97)
CIE-LCHlch(43.31, 53.75, 284.81°)
OKLaboklab(51.57% -0.0266 -0.1491)
OKLCHoklch(51.57% 0.151 259.9)
XYZxyz(14.8659, 13.3676, 49.9310)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E64BD #BD872E
analogous
#2EABBD #2E64BD #402EBD
triadic
#2E64BD #BD2E64 #64BD2E
tetradic
#2E64BD #BD2EAB #BD872E #2EBD40
square
#2E64BD #BD2EAB #BD872E #2EBD40
split-complementary
#2E64BD #BD402E #ABBD2E
monochromatic
#16305B #224A8C #2E64BD #5384D5 #84A7E1

Accessibility & contrast

On white

5.72
#2E64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E64BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E64BD#FFFFFF#000000##FFFFFF
##2E64BD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#0C60BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e64bd;
/* rgb */ color: rgb(46, 100, 189);
/* oklch */ color: oklch(51.6% 0.151 259.9);
Tailwind
colors: {
  custom: {
    50: '#7b8fd1',
    500: '#2e64bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e64bd;
$custom-light: #7b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e64bd",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 217.343,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.15149,
    "h": 259.9
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#2E64BD
secondary
#CAAD7C
accent
#A744E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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