#2B64B7#2B64B7

#2B64B7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.144 H 258.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2B64B7
RGBrgb(43, 100, 183)
HSLhsl(216, 62%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(76.5%, 45.4%, 0%, 28.2%)
CIE-LABlab(42.83, 11.09, -49.25)
CIE-LCHlch(42.83, 50.48, 282.69°)
OKLaboklab(51.04% -0.0296 -0.1412)
OKLCHoklch(51.04% 0.144 258.2)
XYZxyz(14.0975, 13.0452, 46.5656)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64B7 #B77E2B
analogous
#2BAAB7 #2B64B7 #382BB7
triadic
#2B64B7 #B72B64 #64B72B
tetradic
#2B64B7 #B72BAA #B77E2B #2BB738
square
#2B64B7 #B72BAA #B77E2B #2BB738
split-complementary
#2B64B7 #B7382B #AAB72B
monochromatic
#142E54 #1F4985 #2B64B7 #4B83D5 #7CA5E0

Accessibility & contrast

On white

5.82
#2B64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B64B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64B7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64B7#FFFFFF#000000##FFFFFF
##2B64B71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b64b7;
/* rgb */ color: rgb(43, 100, 183);
/* oklch */ color: oklch(51.0% 0.144 258.2);
Tailwind
colors: {
  custom: {
    50: '#788fcd',
    500: '#2b64b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b64b7;
$custom-light: #788fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64b7",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 215.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.14426,
    "h": 258.2
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#2B64B7
secondary
#C9A775
accent
#A343E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B64B7

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

Preview Lab → · Contrast checker → · Palette generator →

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