#2D64AB#2D64AB

#2D64AB is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.3% C 0.127 H 256.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2D64AB
RGBrgb(45, 100, 171)
HSLhsl(214, 58%, 42%)
HSVhsv(214, 74%, 67%)
CMYKcmyk(73.7%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.17, 6.79, -43.27)
CIE-LCHlch(42.17, 43.80, 278.92°)
OKLaboklab(50.32% -0.0307 -0.1236)
OKLCHoklch(50.32% 0.127 256)
XYZxyz(12.9873, 12.6111, 40.2699)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64AB #AB742D
analogous
#2DA3AB #2D64AB #352DAB
triadic
#2D64AB #AB2D64 #64AB2D
tetradic
#2D64AB #AB2DA3 #AB742D #2DAB35
square
#2D64AB #AB2DA3 #AB742D #2DAB35
split-complementary
#2D64AB #AB352D #A3AB2D
monochromatic
#142B4A #20487B #2D64AB #4782CE #77A3DB

Accessibility & contrast

On white

5.96
#2D64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2D64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64AB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64AB#FFFFFF#000000##FFFFFF
##2D64AB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d64ab;
/* rgb */ color: rgb(45, 100, 171);
/* oklch */ color: oklch(50.3% 0.127 256.0);
Tailwind
colors: {
  custom: {
    50: '#778fc4',
    500: '#2d64ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d64ab;
$custom-light: #778fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64ab",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 213.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50318,
    "c": 0.12733,
    "h": 256
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#2D64AB
secondary
#C39F71
accent
#9E46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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