#2D64A9#2D64A9

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

Color values

HEX#2D64A9
RGBrgb(45, 100, 169)
HSLhsl(213, 58%, 42%)
HSVhsv(213, 73%, 66%)
CMYKcmyk(73.4%, 40.8%, 0%, 33.7%)
CIE-LABlab(42.05, 6.04, -42.27)
CIE-LCHlch(42.05, 42.70, 278.13°)
OKLaboklab(50.19% -0.0312 -0.1207)
OKLCHoklch(50.19% 0.125 255.5)
XYZxyz(12.7982, 12.5354, 39.2735)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64A9 #A9722D
analogous
#2DA2A9 #2D64A9 #342DA9
triadic
#2D64A9 #A92D64 #64A92D
tetradic
#2D64A9 #A92DA2 #A9722D #2DA934
square
#2D64A9 #A92DA2 #A9722D #2DA934
split-complementary
#2D64A9 #A9342D #A2A92D
monochromatic
#132B48 #204779 #2D64A9 #4682CE #76A3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D64A9#FFFFFF#000000##FFFFFF
##2D64A91.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)
#4369AC
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d64a9;
/* rgb */ color: rgb(45, 100, 169);
/* oklch */ color: oklch(50.2% 0.125 255.5);
Tailwind
colors: {
  custom: {
    50: '#768fc3',
    500: '#2d64a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d64a9;
$custom-light: #768fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64a9",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 169
  },
  "hsl": {
    "h": 213.387,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.12462,
    "h": 255.5
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#2D64A9
secondary
#C29E6F
accent
#9D47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2D64A9

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

Preview Lab → · Contrast checker → · Palette generator →

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