#2F64B0#2F64B0

#2F64B0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.7% C 0.133 H 257.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F64B0
RGBrgb(47, 100, 176)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 73%, 69%)
CMYKcmyk(73.3%, 43.2%, 0%, 31%)
CIE-LABlab(42.54, 8.96, -45.61)
CIE-LCHlch(42.54, 46.48, 281.11°)
OKLaboklab(50.72% -0.0282 -0.1304)
OKLCHoklch(50.72% 0.133 257.8)
XYZxyz(13.5631, 12.8518, 42.8317)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64B0 #B07B2F
analogous
#2FA4B0 #2F64B0 #3A2FB0
triadic
#2F64B0 #B02F64 #64B02F
tetradic
#2F64B0 #B02FA4 #B07B2F #2FB03A
square
#2F64B0 #B02FA4 #B07B2F #2FB03A
split-complementary
#2F64B0 #B03A2F #A4B02F
monochromatic
#152D4F #224980 #2F64B0 #4D82CF #7DA4DC

Accessibility & contrast

On white

5.88
#2F64B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F64B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64B0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64B0#FFFFFF#000000##FFFFFF
##2F64B01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#285FAE
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f64b0;
/* rgb */ color: rgb(47, 100, 176);
/* oklch */ color: oklch(50.7% 0.133 257.8);
Tailwind
colors: {
  custom: {
    50: '#788fc8',
    500: '#2f64b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f64b0;
$custom-light: #788fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64b0",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 176
  },
  "hsl": {
    "h": 215.349,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.13346,
    "h": 257.8
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#2F64B0
secondary
#C5A476
accent
#A247E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F64B0

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

Preview Lab → · Contrast checker → · Palette generator →

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