#2D64AE#2D64AE

#2D64AE is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.5% C 0.131 H 256.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2D64AE
RGBrgb(45, 100, 174)
HSLhsl(214, 59%, 43%)
HSVhsv(214, 74%, 68%)
CMYKcmyk(74.1%, 42.5%, 0%, 31.8%)
CIE-LABlab(42.35, 7.93, -44.75)
CIE-LCHlch(42.35, 45.44, 280.05°)
OKLaboklab(50.51% -0.0301 -0.1279)
OKLCHoklch(50.51% 0.131 256.8)
XYZxyz(13.2765, 12.7267, 41.7930)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64AE #AE772D
analogous
#2DA4AE #2D64AE #372DAE
triadic
#2D64AE #AE2D64 #64AE2D
tetradic
#2D64AE #AE2DA4 #AE772D #2DAE37
square
#2D64AE #AE2DA4 #AE772D #2DAE37
split-complementary
#2D64AE #AE372D #A4AE2D
monochromatic
#142C4D #20487D #2D64AE #4882D0 #79A3DC

Accessibility & contrast

On white

5.92
#2D64AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2D64AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64AE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64AE#FFFFFF#000000##FFFFFF
##2D64AE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#2A5EAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d64ae;
/* rgb */ color: rgb(45, 100, 174);
/* oklch */ color: oklch(50.5% 0.131 256.8);
Tailwind
colors: {
  custom: {
    50: '#778fc6',
    500: '#2d64ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d64ae;
$custom-light: #778fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64ae",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 214.419,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.13141,
    "h": 256.8
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#2D64AE
secondary
#C4A172
accent
#9F46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D64AE

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

Preview Lab → · Contrast checker → · Palette generator →

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