#3D64A2#3D64A2

#3D64A2 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.5% C 0.109 H 259.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3D64A2
RGBrgb(61, 100, 162)
HSLhsl(217, 45%, 44%)
HSVhsv(217, 62%, 64%)
CMYKcmyk(62.3%, 38.3%, 0%, 36.5%)
CIE-LABlab(42.33, 6.20, -37.66)
CIE-LCHlch(42.33, 38.17, 279.35°)
OKLaboklab(50.46% -0.0202 -0.1069)
OKLCHoklch(50.46% 0.109 259.3)
XYZxyz(13.0009, 12.7139, 35.9443)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64A2 #A27B3D
analogous
#3D96A2 #3D64A2 #493DA2
triadic
#3D64A2 #A23D64 #64A23D
tetradic
#3D64A2 #A23D96 #A27B3D #3DA249
square
#3D64A2 #A23D96 #A27B3D #3DA249
split-complementary
#3D64A2 #A2493D #96A23D
monochromatic
#1C2D49 #2C4976 #3D64A2 #5B82C1 #87A4D2

Accessibility & contrast

On white

5.93
#3D64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3D64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64A2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64A2#FFFFFF#000000##FFFFFF
##3D64A21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#3B60A1
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d64a2;
/* rgb */ color: rgb(61, 100, 162);
/* oklch */ color: oklch(50.5% 0.109 259.3);
Tailwind
colors: {
  custom: {
    50: '#7c8fbe',
    500: '#3d64a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d64a2;
$custom-light: #7c8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64a2",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 216.832,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.10878,
    "h": 259.3
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#3D64A2
secondary
#BCA47E
accent
#A353D5
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3D64A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3D64A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva