#2B64A6#2B64A6

#2B64A6 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 49.9% C 0.121 H 254.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2B64A6
RGBrgb(43, 100, 166)
HSLhsl(212, 59%, 41%)
HSVhsv(212, 74%, 65%)
CMYKcmyk(74.1%, 39.8%, 0%, 34.9%)
CIE-LABlab(41.81, 4.62, -40.89)
CIE-LCHlch(41.81, 41.15, 276.45°)
OKLaboklab(49.93% -0.0332 -0.1166)
OKLCHoklch(49.93% 0.121 254.1)
XYZxyz(12.4338, 12.3797, 37.8032)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64A6 #A66D2B
analogous
#2BA1A6 #2B64A6 #2F2BA6
triadic
#2B64A6 #A62B64 #64A62B
tetradic
#2B64A6 #A62BA1 #A66D2B #2BA62F
square
#2B64A6 #A62BA1 #A66D2B #2BA62F
split-complementary
#2B64A6 #A62F2B #A1A62B
monochromatic
#122945 #1E4775 #2B64A6 #4182CE #71A2DA

Accessibility & contrast

On white

6.04
#2B64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64A6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64A6#FFFFFF#000000##FFFFFF
##2B64A61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#325DA5
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b64a6;
/* rgb */ color: rgb(43, 100, 166);
/* oklch */ color: oklch(49.9% 0.121 254.1);
Tailwind
colors: {
  custom: {
    50: '#758fc1',
    500: '#2b64a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b64a6;
$custom-light: #758fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64a6",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 212.195,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.12127,
    "h": 254.1
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#2B64A6
secondary
#C19A6B
accent
#9A46E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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