#2C64BA#2C64BA

#2C64BA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.148 H 258.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2C64BA
RGBrgb(44, 100, 186)
HSLhsl(216, 62%, 45%)
HSVhsv(216, 76%, 73%)
CMYKcmyk(76.3%, 46.2%, 0%, 27.1%)
CIE-LABlab(43.05, 12.35, -50.64)
CIE-LCHlch(43.05, 52.13, 283.71°)
OKLaboklab(51.29% -0.0284 -0.1453)
OKLCHoklch(51.29% 0.148 258.9)
XYZxyz(14.4556, 13.1933, 48.2296)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C64BA #BA822C
analogous
#2CABBA #2C64BA #3B2CBA
triadic
#2C64BA #BA2C64 #64BA2C
tetradic
#2C64BA #BA2CAB #BA822C #2CBA3B
square
#2C64BA #BA2CAB #BA822C #2CBA3B
split-complementary
#2C64BA #BA3B2C #ABBA2C
monochromatic
#152F57 #204989 #2C64BA #4E83D5 #80A6E1

Accessibility & contrast

On white

5.77
#2C64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2C64BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C64BA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C64BA#FFFFFF#000000##FFFFFF
##2C64BA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#1460B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c64ba;
/* rgb */ color: rgb(44, 100, 186);
/* oklch */ color: oklch(51.3% 0.148 258.9);
Tailwind
colors: {
  custom: {
    50: '#798fcf',
    500: '#2c64ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c64ba;
$custom-light: #798fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c64ba",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 216.338,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.14802,
    "h": 258.9
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#2C64BA
secondary
#CAA978
accent
#A543E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2C64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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