#2F64D2#2F64D2

#2F64D2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.179 H 262.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F64D2
RGBrgb(47, 100, 210)
HSLhsl(220, 64%, 50%)
HSVhsv(220, 78%, 82%)
CMYKcmyk(77.6%, 52.4%, 0%, 17.6%)
CIE-LABlab(44.76, 21.79, -61.74)
CIE-LCHlch(44.76, 65.47, 289.44°)
OKLaboklab(53.13% -0.0231 -0.1779)
OKLCHoklch(53.13% 0.179 262.6)
XYZxyz(17.3581, 14.3698, 62.8191)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64D2 #D29D2F
analogous
#2FB5D2 #2F64D2 #4B2FD2
triadic
#2F64D2 #D22F64 #64D22F
tetradic
#2F64D2 #D22FB5 #D29D2F #2FD24B
square
#2F64D2 #D22FB5 #D29D2F #2FD24B
split-complementary
#2F64D2 #D24B2F #B5D22F
monochromatic
#18346F #234CA1 #2F64D2 #6189DD #94AFE8

Accessibility & contrast

On white

5.42
#2F64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64D2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64D2#FFFFFF#000000##FFFFFF
##2F64D21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f64d2;
/* rgb */ color: rgb(47, 100, 210);
/* oklch */ color: oklch(53.1% 0.179 262.6);
Tailwind
colors: {
  custom: {
    50: '#808fe1',
    500: '#2f64d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f64d2;
$custom-light: #808fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64d2",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 220.491,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.17938,
    "h": 262.6
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#2F64D2
secondary
#D3BB8A
accent
#B140E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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