#2F64B3#2F64B3

#2F64B3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.138 H 258.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F64B3
RGBrgb(47, 100, 179)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(73.7%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.72, 10.09, -47.08)
CIE-LCHlch(42.72, 48.15, 282.09°)
OKLaboklab(50.92% -0.0276 -0.1348)
OKLCHoklch(50.92% 0.138 258.4)
XYZxyz(13.8632, 12.9718, 44.4123)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64B3 #B37E2F
analogous
#2FA6B3 #2F64B3 #3C2FB3
triadic
#2F64B3 #B32F64 #64B32F
tetradic
#2F64B3 #B32FA6 #B37E2F #2FB33C
square
#2F64B3 #B32FA6 #B37E2F #2FB33C
split-complementary
#2F64B3 #B33C2F #A6B32F
monochromatic
#162E52 #224983 #2F64B3 #4F83D1 #7FA5DD

Accessibility & contrast

On white

5.84
#2F64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F64B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64B3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64B3#FFFFFF#000000##FFFFFF
##2F64B31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f64b3;
/* rgb */ color: rgb(47, 100, 179);
/* oklch */ color: oklch(50.9% 0.138 258.4);
Tailwind
colors: {
  custom: {
    50: '#798fca',
    500: '#2f64b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f64b3;
$custom-light: #798fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64b3",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 215.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.13757,
    "h": 258.4
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#2F64B3
secondary
#C6A778
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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