#2B64E2#2B64E2

#2B64E2 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.2% C 0.201 H 263.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B64E2
RGBrgb(43, 100, 226)
HSLhsl(221, 76%, 53%)
HSVhsv(221, 81%, 89%)
CMYKcmyk(81%, 55.8%, 0%, 11.4%)
CIE-LABlab(45.79, 27.41, -69.17)
CIE-LCHlch(45.79, 74.41, 291.62°)
OKLaboklab(54.25% -0.0243 -0.1998)
OKLCHoklch(54.25% 0.201 263.1)
XYZxyz(19.2760, 15.1166, 73.8386)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64E2 #E2A92B
analogous
#2BC0E2 #2B64E2 #4D2BE2
triadic
#2B64E2 #E22B64 #64E22B
tetradic
#2B64E2 #E22BC0 #E2A92B #2BE24D
square
#2B64E2 #E22BC0 #E2A92B #2BE24D
split-complementary
#2B64E2 #E24D2B #C0E22B
monochromatic
#123481 #194AB7 #2B64E2 #618BE9 #97B3F1

Accessibility & contrast

On white

5.22
#2B64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2B64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64E2#FFFFFF#000000##FFFFFF
##2B64E21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b64e2;
/* rgb */ color: rgb(43, 100, 226);
/* oklch */ color: oklch(54.2% 0.201 263.1);
Tailwind
colors: {
  custom: {
    50: '#828fec',
    500: '#2b64e2',
    950: '#000000',
  },
}
SCSS
$custom: #2b64e2;
$custom-light: #828fec;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64e2",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 221.311,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.20128,
    "h": 263.1
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#2B64E2
secondary
#DCC38D
accent
#B835F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2B64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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