#2F64BF#2F64BF

#2F64BF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.154 H 260.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F64BF
RGBrgb(47, 100, 191)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 75%, 75%)
CMYKcmyk(75.4%, 47.6%, 0%, 25.1%)
CIE-LABlab(43.48, 14.62, -52.86)
CIE-LCHlch(43.48, 54.85, 285.46°)
OKLaboklab(51.74% -0.0255 -0.1518)
OKLCHoklch(51.74% 0.154 260.4)
XYZxyz(15.1300, 13.4786, 51.0843)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BF #BF8A2F
analogous
#2FACBF #2F64BF #422FBF
triadic
#2F64BF #BF2F64 #64BF2F
tetradic
#2F64BF #BF2FAC #BF8A2F #2FBF42
square
#2F64BF #BF2FAC #BF8A2F #2FBF42
split-complementary
#2F64BF #BF422F #ACBF2F
monochromatic
#17315D #234A8E #2F64BF #5685D5 #87A8E1

Accessibility & contrast

On white

5.68
#2F64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BF#FFFFFF#000000##FFFFFF
##2F64BF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#0461BD
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f64bf;
/* rgb */ color: rgb(47, 100, 191);
/* oklch */ color: oklch(51.7% 0.154 260.4);
Tailwind
colors: {
  custom: {
    50: '#7b8fd3',
    500: '#2f64bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f64bf;
$custom-light: #7b8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64bf",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 217.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.1539,
    "h": 260.4
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#2F64BF
secondary
#CBAF7F
accent
#A944E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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