#2B64AB#2B64AB

#2B64AB is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.128 H 255.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2B64AB
RGBrgb(43, 100, 171)
HSLhsl(213, 60%, 42%)
HSVhsv(213, 75%, 67%)
CMYKcmyk(74.9%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.10, 6.52, -43.38)
CIE-LCHlch(42.10, 43.87, 278.55°)
OKLaboklab(50.25% -0.032 -0.1239)
OKLCHoklch(50.25% 0.128 255.5)
XYZxyz(12.9014, 12.5668, 40.2659)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64AB #AB722B
analogous
#2BA4AB #2B64AB #322BAB
triadic
#2B64AB #AB2B64 #64AB2B
tetradic
#2B64AB #AB2BA4 #AB722B #2BAB32
square
#2B64AB #AB2BA4 #AB722B #2BAB32
split-complementary
#2B64AB #AB322B #A4AB2B
monochromatic
#122B49 #1F477A #2B64AB #4382D0 #74A3DC

Accessibility & contrast

On white

5.98
#2B64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64AB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64AB#FFFFFF#000000##FFFFFF
##2B64AB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b64ab;
/* rgb */ color: rgb(43, 100, 171);
/* oklch */ color: oklch(50.2% 0.128 255.5);
Tailwind
colors: {
  custom: {
    50: '#768fc4',
    500: '#2b64ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b64ab;
$custom-light: #768fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64ab",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 213.281,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.12801,
    "h": 255.5
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#2B64AB
secondary
#C49E6E
accent
#9D45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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