#2F61BB#2F61BB

#2F61BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.152 H 261.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2F61BB
RGBrgb(47, 97, 187)
HSLhsl(219, 60%, 46%)
HSVhsv(219, 75%, 73%)
CMYKcmyk(74.9%, 48.1%, 0%, 26.7%)
CIE-LABlab(42.37, 15.04, -52.32)
CIE-LCHlch(42.37, 54.44, 286.04°)
OKLaboklab(50.81% -0.0237 -0.1502)
OKLCHoklch(50.81% 0.152 261)
XYZxyz(14.4134, 12.7400, 48.7035)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61BB #BB892F
analogous
#2FA7BB #2F61BB #432FBB
triadic
#2F61BB #BB2F61 #61BB2F
tetradic
#2F61BB #BB2FA7 #BB892F #2FBB43
square
#2F61BB #BB2FA7 #BB892F #2FBB43
split-complementary
#2F61BB #BB432F #A7BB2F
monochromatic
#162E59 #23488A #2F61BB #5381D4 #84A5E0

Accessibility & contrast

On white

5.92
#2F61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61BB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61BB#FFFFFF#000000##FFFFFF
##2F61BB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f61bb;
/* rgb */ color: rgb(47, 97, 187);
/* oklch */ color: oklch(50.8% 0.152 261.0);
Tailwind
colors: {
  custom: {
    50: '#7b8dd0',
    500: '#2f61bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f61bb;
$custom-light: #7b8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61bb",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 218.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.15207,
    "h": 261
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#2F61BB
secondary
#C9AE7C
accent
#AA45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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