#2F62BB#2F62BB

#2F62BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.151 H 260.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F62BB
RGBrgb(47, 98, 187)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(74.9%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.65, 14.40, -51.86)
CIE-LCHlch(42.65, 53.83, 285.51°)
OKLaboklab(51.03% -0.0245 -0.1489)
OKLCHoklch(51.03% 0.151 260.7)
XYZxyz(14.5064, 12.9259, 48.7345)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62BB #BB882F
analogous
#2FA8BB #2F62BB #422FBB
triadic
#2F62BB #BB2F62 #62BB2F
tetradic
#2F62BB #BB2FA8 #BB882F #2FBB42
square
#2F62BB #BB2FA8 #BB882F #2FBB42
split-complementary
#2F62BB #BB422F #A8BB2F
monochromatic
#162F59 #23488A #2F62BB #5382D4 #84A6E0

Accessibility & contrast

On white

5.86
#2F62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F62BB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62BB#FFFFFF#000000##FFFFFF
##2F62BB1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#075FB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f62bb;
/* rgb */ color: rgb(47, 98, 187);
/* oklch */ color: oklch(51.0% 0.151 260.7);
Tailwind
colors: {
  custom: {
    50: '#7b8ed0',
    500: '#2f62bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f62bb;
$custom-light: #7b8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62bb",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 218.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.15086,
    "h": 260.7
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#2F62BB
secondary
#C9AD7C
accent
#A945E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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