#2F64BE#2F64BE

#2F64BE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.153 H 260.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F64BE
RGBrgb(47, 100, 190)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 75%)
CMYKcmyk(75.3%, 47.4%, 0%, 25.5%)
CIE-LABlab(43.41, 14.24, -52.39)
CIE-LCHlch(43.41, 54.29, 285.21°)
OKLaboklab(51.67% -0.0257 -0.1504)
OKLCHoklch(51.67% 0.153 260.3)
XYZxyz(15.0204, 13.4347, 50.5068)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BE #BE892F
analogous
#2FACBE #2F64BE #412FBE
triadic
#2F64BE #BE2F64 #64BE2F
tetradic
#2F64BE #BE2FAC #BE892F #2FBE41
square
#2F64BE #BE2FAC #BE892F #2FBE41
split-complementary
#2F64BE #BE412F #ACBE2F
monochromatic
#17305C #234A8D #2F64BE #5585D5 #86A8E1

Accessibility & contrast

On white

5.70
#2F64BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F64BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BE#FFFFFF#000000##FFFFFF
##2F64BE1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f64be;
/* rgb */ color: rgb(47, 100, 190);
/* oklch */ color: oklch(51.7% 0.153 260.3);
Tailwind
colors: {
  custom: {
    50: '#7b8fd2',
    500: '#2f64be',
    950: '#000000',
  },
}
SCSS
$custom: #2f64be;
$custom-light: #7b8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64be",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 217.762,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.15254,
    "h": 260.3
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#2F64BE
secondary
#CBAE7E
accent
#A844E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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