#2F61B5#2F61B5

#2F61B5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.144 H 260.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2F61B5
RGBrgb(47, 97, 181)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 71%)
CMYKcmyk(74%, 46.4%, 0%, 29%)
CIE-LABlab(41.98, 12.77, -49.44)
CIE-LCHlch(41.98, 51.06, 284.49°)
OKLaboklab(50.39% -0.0246 -0.1417)
OKLCHoklch(50.39% 0.144 260.1)
XYZxyz(13.7845, 12.4884, 45.3911)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B5 #B5832F
analogous
#2FA4B5 #2F61B5 #402FB5
triadic
#2F61B5 #B52F61 #61B52F
tetradic
#2F61B5 #B52FA4 #B5832F #2FB540
square
#2F61B5 #B52FA4 #B5832F #2FB540
split-complementary
#2F61B5 #B5402F #A4B52F
monochromatic
#162D54 #224784 #2F61B5 #5080D1 #80A3DE

Accessibility & contrast

On white

6.00
#2F61B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F61B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B5#FFFFFF#000000##FFFFFF
##2F61B51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f61b5;
/* rgb */ color: rgb(47, 97, 181);
/* oklch */ color: oklch(50.4% 0.144 260.1);
Tailwind
colors: {
  custom: {
    50: '#798dcc',
    500: '#2f61b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b5;
$custom-light: #798dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b5",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 217.612,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.14386,
    "h": 260.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#2F61B5
secondary
#C7AA79
accent
#A846E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61B5

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

Preview Lab → · Contrast checker → · Palette generator →

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