#2F61BF#2F61BF

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

Color values

HEX#2F61BF
RGBrgb(47, 97, 191)
HSLhsl(219, 61%, 47%)
HSVhsv(219, 75%, 75%)
CMYKcmyk(75.4%, 49.2%, 0%, 25.1%)
CIE-LABlab(42.63, 16.56, -54.22)
CIE-LCHlch(42.63, 56.69, 286.98°)
OKLaboklab(51.1% -0.0231 -0.1558)
OKLCHoklch(51.1% 0.158 261.6)
XYZxyz(14.8476, 12.9136, 50.9902)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61BF #BF8D2F
analogous
#2FA9BF #2F61BF #452FBF
triadic
#2F61BF #BF2F61 #61BF2F
tetradic
#2F61BF #BF2FA9 #BF8D2F #2FBF45
square
#2F61BF #BF2FA9 #BF8D2F #2FBF45
split-complementary
#2F61BF #BF452F #A9BF2F
monochromatic
#172F5D #23488E #2F61BF #5682D5 #87A6E1

Accessibility & contrast

On white

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

On black

3.58
#2F61BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F61BF#FFFFFF#000000##FFFFFF
##2F61BF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC2
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f61bf;
/* rgb */ color: rgb(47, 97, 191);
/* oklch */ color: oklch(51.1% 0.158 261.6);
Tailwind
colors: {
  custom: {
    50: '#7c8dd3',
    500: '#2f61bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f61bf;
$custom-light: #7c8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61bf",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 219.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.15751,
    "h": 261.6
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#2F61BF
secondary
#CBB17F
accent
#AC44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F61BF

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

Preview Lab → · Contrast checker → · Palette generator →

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