#2D64A1#2D64A1

#2D64A1 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.7% C 0.114 H 253.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2D64A1
RGBrgb(45, 100, 161)
HSLhsl(212, 56%, 40%)
HSVhsv(212, 72%, 63%)
CMYKcmyk(72%, 37.9%, 0%, 36.9%)
CIE-LABlab(41.60, 3.04, -38.26)
CIE-LCHlch(41.60, 38.38, 274.54°)
OKLaboklab(49.69% -0.0331 -0.1089)
OKLCHoklch(49.69% 0.114 253.1)
XYZxyz(12.0700, 12.2441, 35.4385)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D64A1 #A16A2D
analogous
#2D9EA1 #2D64A1 #302DA1
triadic
#2D64A1 #A12D64 #64A12D
tetradic
#2D64A1 #A12D9E #A16A2D #2DA130
square
#2D64A1 #A12D9E #A16A2D #2DA130
split-complementary
#2D64A1 #A1302D #9EA12D
monochromatic
#122941 #204671 #2D64A1 #4182CA #71A2D7

Accessibility & contrast

On white

6.09
#2D64A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2D64A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D64A1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D64A1#FFFFFF#000000##FFFFFF
##2D64A11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A3
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d64a1;
/* rgb */ color: rgb(45, 100, 161);
/* oklch */ color: oklch(49.7% 0.114 253.1);
Tailwind
colors: {
  custom: {
    50: '#758fbd',
    500: '#2d64a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d64a1;
$custom-light: #758fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d64a1",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 161
  },
  "hsl": {
    "h": 211.552,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.11383,
    "h": 253.1
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#2D64A1
secondary
#BF976B
accent
#9848E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D64A1

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

Preview Lab → · Contrast checker → · Palette generator →

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