#2B64AA#2B64AA

#2B64AA is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.2% C 0.127 H 255.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2B64AA
RGBrgb(43, 100, 170)
HSLhsl(213, 60%, 42%)
HSVhsv(213, 75%, 67%)
CMYKcmyk(74.7%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.04, 6.14, -42.88)
CIE-LCHlch(42.04, 43.32, 278.15°)
OKLaboklab(50.18% -0.0323 -0.1225)
OKLCHoklch(50.18% 0.127 255.2)
XYZxyz(12.8065, 12.5288, 39.7658)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64AA #AA712B
analogous
#2BA4AA #2B64AA #322BAA
triadic
#2B64AA #AA2B64 #64AA2B
tetradic
#2B64AA #AA2BA4 #AA712B #2BAA32
square
#2B64AA #AA2BA4 #AA712B #2BAA32
split-complementary
#2B64AA #AA322B #A4AA2B
monochromatic
#122B48 #1F4779 #2B64AA #4382CF #74A2DC

Accessibility & contrast

On white

5.99
#2B64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B64AA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64AA#FFFFFF#000000##FFFFFF
##2B64AA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b64aa;
/* rgb */ color: rgb(43, 100, 170);
/* oklch */ color: oklch(50.2% 0.127 255.2);
Tailwind
colors: {
  custom: {
    50: '#768fc4',
    500: '#2b64aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b64aa;
$custom-light: #768fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64aa",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 213.071,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.12666,
    "h": 255.2
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#2B64AA
secondary
#C39D6E
accent
#9C45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2B64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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