#2F64BB#2F64BB

#2F64BB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.148 H 259.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F64BB
RGBrgb(47, 100, 187)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.9%, 46.5%, 0%, 26.7%)
CIE-LABlab(43.22, 13.11, -50.95)
CIE-LCHlch(43.22, 52.61, 284.43°)
OKLaboklab(51.46% -0.0262 -0.1461)
OKLCHoklch(51.46% 0.148 259.8)
XYZxyz(14.6959, 13.3049, 48.7977)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BB #BB862F
analogous
#2FAABB #2F64BB #402FBB
triadic
#2F64BB #BB2F64 #64BB2F
tetradic
#2F64BB #BB2FAA #BB862F #2FBB40
square
#2F64BB #BB2FAA #BB862F #2FBB40
split-complementary
#2F64BB #BB402F #AABB2F
monochromatic
#163059 #234A8A #2F64BB #5384D4 #84A7E0

Accessibility & contrast

On white

5.74
#2F64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2F64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BB#FFFFFF#000000##FFFFFF
##2F64BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f64bb;
/* rgb */ color: rgb(47, 100, 187);
/* oklch */ color: oklch(51.5% 0.148 259.8);
Tailwind
colors: {
  custom: {
    50: '#7b8fd0',
    500: '#2f64bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f64bb;
$custom-light: #7b8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64bb",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 217.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.14847,
    "h": 259.8
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#2F64BB
secondary
#C9AC7C
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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