#2F61B8#2F61B8

#2F61B8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.148 H 260.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F61B8
RGBrgb(47, 97, 184)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(74.5%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.17, 13.91, -50.88)
CIE-LCHlch(42.17, 52.75, 285.29°)
OKLaboklab(50.6% -0.0241 -0.146)
OKLCHoklch(50.6% 0.148 260.6)
XYZxyz(14.0956, 12.6129, 47.0298)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B8 #B8862F
analogous
#2FA5B8 #2F61B8 #412FB8
triadic
#2F61B8 #B82F61 #61B82F
tetradic
#2F61B8 #B82FA5 #B8862F #2FB841
square
#2F61B8 #B82FA5 #B8862F #2FB841
split-complementary
#2F61B8 #B8412F #A5B82F
monochromatic
#162E57 #234787 #2F61B8 #5281D3 #82A4DF

Accessibility & contrast

On white

5.96
#2F61B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F61B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B8#FFFFFF#000000##FFFFFF
##2F61B81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#0D5EB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f61b8;
/* rgb */ color: rgb(47, 97, 184);
/* oklch */ color: oklch(50.6% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#7a8dce',
    500: '#2f61b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b8;
$custom-light: #7a8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b8",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 218.102,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.14797,
    "h": 260.6
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#2F61B8
secondary
#C8AC7B
accent
#A945E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F61B8

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

Preview Lab → · Contrast checker → · Palette generator →

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