#2F64BD#2F64BD

#2F64BD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.151 H 260.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F64BD
RGBrgb(47, 100, 189)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 74%)
CMYKcmyk(75.1%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.35, 13.86, -51.91)
CIE-LCHlch(43.35, 53.73, 284.95°)
OKLaboklab(51.6% -0.0259 -0.149)
OKLCHoklch(51.6% 0.151 260.1)
XYZxyz(14.9114, 13.3911, 49.9331)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BD #BD882F
analogous
#2FABBD #2F64BD #412FBD
triadic
#2F64BD #BD2F64 #64BD2F
tetradic
#2F64BD #BD2FAB #BD882F #2FBD41
square
#2F64BD #BD2FAB #BD882F #2FBD41
split-complementary
#2F64BD #BD412F #ABBD2F
monochromatic
#17305B #234A8C #2F64BD #5584D5 #86A8E1

Accessibility & contrast

On white

5.71
#2F64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BD#FFFFFF#000000##FFFFFF
##2F64BD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#0D60BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f64bd;
/* rgb */ color: rgb(47, 100, 189);
/* oklch */ color: oklch(51.6% 0.151 260.1);
Tailwind
colors: {
  custom: {
    50: '#7b8fd1',
    500: '#2f64bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f64bd;
$custom-light: #7b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64bd",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 217.606,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.15119,
    "h": 260.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#2F64BD
secondary
#CAAE7E
accent
#A844E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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