#2B64C1#2B64C1

#2B64C1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.158 H 259.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2B64C1
RGBrgb(43, 100, 193)
HSLhsl(217, 64%, 46%)
HSVhsv(217, 78%, 76%)
CMYKcmyk(77.7%, 48.2%, 0%, 24.3%)
CIE-LABlab(43.47, 14.90, -54.04)
CIE-LCHlch(43.47, 56.05, 285.42°)
OKLaboklab(51.75% -0.0279 -0.1553)
OKLCHoklch(51.75% 0.158 259.8)
XYZxyz(15.1756, 13.4764, 52.2431)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64C1 #C1882B
analogous
#2BAFC1 #2B64C1 #3D2BC1
triadic
#2B64C1 #C12B64 #64C12B
tetradic
#2B64C1 #C12BAF #C1882B #2BC13D
square
#2B64C1 #C12BAF #C1882B #2BC13D
split-complementary
#2B64C1 #C13D2B #AFC12B
monochromatic
#15305D #204A8F #2B64C1 #5184D8 #83A8E3

Accessibility & contrast

On white

5.68
#2B64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2B64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64C1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64C1#FFFFFF#000000##FFFFFF
##2B64C11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC4
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b64c1;
/* rgb */ color: rgb(43, 100, 193);
/* oklch */ color: oklch(51.7% 0.158 259.8);
Tailwind
colors: {
  custom: {
    50: '#7b8fd4',
    500: '#2b64c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b64c1;
$custom-light: #7b8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64c1",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 217.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.15776,
    "h": 259.8
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#2B64C1
secondary
#CCAE7B
accent
#A841E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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