#2F64BC#2F64BC

#2F64BC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.150 H 260.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F64BC
RGBrgb(47, 100, 188)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 74%)
CMYKcmyk(75%, 46.8%, 0%, 26.3%)
CIE-LABlab(43.28, 13.49, -51.43)
CIE-LCHlch(43.28, 53.17, 284.69°)
OKLaboklab(51.53% -0.026 -0.1475)
OKLCHoklch(51.53% 0.15 260)
XYZxyz(14.8033, 13.3479, 49.3634)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BC #BC872F
analogous
#2FAABC #2F64BC #402FBC
triadic
#2F64BC #BC2F64 #64BC2F
tetradic
#2F64BC #BC2FAA #BC872F #2FBC40
square
#2F64BC #BC2FAA #BC872F #2FBC40
split-complementary
#2F64BC #BC402F #AABC2F
monochromatic
#17305A #234A8B #2F64BC #5484D4 #85A7E0

Accessibility & contrast

On white

5.72
#2F64BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F64BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BC#FFFFFF#000000##FFFFFF
##2F64BC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f64bc;
/* rgb */ color: rgb(47, 100, 188);
/* oklch */ color: oklch(51.5% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#7b8fd1',
    500: '#2f64bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f64bc;
$custom-light: #7b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64bc",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 217.447,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.14983,
    "h": 260
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#2F64BC
secondary
#CAAD7D
accent
#A845E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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