#2B64D3#2B64D3

#2B64D3 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.182 H 261.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B64D3
RGBrgb(43, 100, 211)
HSLhsl(220, 66%, 50%)
HSVhsv(220, 80%, 83%)
CMYKcmyk(79.6%, 52.6%, 0%, 17.3%)
CIE-LABlab(44.70, 21.76, -62.41)
CIE-LCHlch(44.70, 66.10, 289.22°)
OKLaboklab(53.08% -0.0256 -0.1799)
OKLCHoklch(53.08% 0.182 261.9)
XYZxyz(17.3071, 14.3290, 63.4690)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64D3 #D39A2B
analogous
#2BB8D3 #2B64D3 #462BD3
triadic
#2B64D3 #D32B64 #64D32B
tetradic
#2B64D3 #D32BB8 #D39A2B #2BD346
square
#2B64D3 #D32BB8 #D39A2B #2BD346
split-complementary
#2B64D3 #D3462B #B8D32B
monochromatic
#16346D #214CA0 #2B64D3 #5D89DE #90AEE8

Accessibility & contrast

On white

5.43
#2B64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2B64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64D3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64D3#FFFFFF#000000##FFFFFF
##2B64D31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E72D7
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b64d3;
/* rgb */ color: rgb(43, 100, 211);
/* oklch */ color: oklch(53.1% 0.182 261.9);
Tailwind
colors: {
  custom: {
    50: '#7f8fe1',
    500: '#2b64d3',
    950: '#000000',
  },
}
SCSS
$custom: #2b64d3;
$custom-light: #7f8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64d3",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 219.643,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.18173,
    "h": 261.9
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#2B64D3
secondary
#D3B987
accent
#AF3FE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2B64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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