#2F61B6#2F61B6

#2F61B6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.145 H 260.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F61B6
RGBrgb(47, 97, 182)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 71%)
CMYKcmyk(74.2%, 46.7%, 0%, 28.6%)
CIE-LABlab(42.05, 13.15, -49.92)
CIE-LCHlch(42.05, 51.62, 284.76°)
OKLaboklab(50.46% -0.0244 -0.1432)
OKLCHoklch(50.46% 0.145 260.3)
XYZxyz(13.8874, 12.5296, 45.9334)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B6 #B6842F
analogous
#2FA4B6 #2F61B6 #412FB6
triadic
#2F61B6 #B62F61 #61B62F
tetradic
#2F61B6 #B62FA4 #B6842F #2FB641
square
#2F61B6 #B62FA4 #B6842F #2FB641
split-complementary
#2F61B6 #B6412F #A4B62F
monochromatic
#162D55 #224785 #2F61B6 #5080D2 #81A4DE

Accessibility & contrast

On white

5.99
#2F61B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2F61B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B6#FFFFFF#000000##FFFFFF
##2F61B61.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f61b6;
/* rgb */ color: rgb(47, 97, 182);
/* oklch */ color: oklch(50.5% 0.145 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8dcc',
    500: '#2f61b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b6;
$custom-light: #7a8dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b6",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 217.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.14523,
    "h": 260.3
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F61B6

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

Preview Lab → · Contrast checker → · Palette generator →

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