#2D64A5#2D64A5

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

Color values

HEX#2D64A5
RGBrgb(45, 100, 165)
HSLhsl(213, 57%, 41%)
HSVhsv(213, 73%, 65%)
CMYKcmyk(72.7%, 39.4%, 0%, 35.3%)
CIE-LABlab(41.83, 4.54, -40.27)
CIE-LCHlch(41.83, 40.53, 276.42°)
OKLaboklab(49.94% -0.0321 -0.1148)
OKLCHoklch(49.94% 0.119 254.4)
XYZxyz(12.4284, 12.3875, 37.3260)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64A5 #A56E2D
analogous
#2DA0A5 #2D64A5 #322DA5
triadic
#2D64A5 #A52D64 #64A52D
tetradic
#2D64A5 #A52DA0 #A56E2D #2DA532
square
#2D64A5 #A52DA0 #A56E2D #2DA532
split-complementary
#2D64A5 #A5322D #A0A52D
monochromatic
#132A45 #204775 #2D64A5 #4382CC #73A2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D64A5#FFFFFF#000000##FFFFFF
##2D64A51.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)
#4669A8
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d64a5;
/* rgb */ color: rgb(45, 100, 165);
/* oklch */ color: oklch(49.9% 0.119 254.4);
Tailwind
colors: {
  custom: {
    50: '#758fc0',
    500: '#2d64a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d64a5;
$custom-light: #758fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64a5",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 212.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.11921,
    "h": 254.4
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#2D64A5
secondary
#C19A6D
accent
#9A47E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D64A5

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

Preview Lab → · Contrast checker → · Palette generator →

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