#2F61B9#2F61B9

#2F61B9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.149 H 260.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2F61B9
RGBrgb(47, 97, 185)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(74.6%, 47.6%, 0%, 27.5%)
CIE-LABlab(42.24, 14.29, -51.36)
CIE-LCHlch(42.24, 53.31, 285.54°)
OKLaboklab(50.67% -0.024 -0.1474)
OKLCHoklch(50.67% 0.149 260.8)
XYZxyz(14.2008, 12.6549, 47.5838)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B9 #B9872F
analogous
#2FA6B9 #2F61B9 #422FB9
triadic
#2F61B9 #B92F61 #61B92F
tetradic
#2F61B9 #B92FA6 #B9872F #2FB942
square
#2F61B9 #B92FA6 #B9872F #2FB942
split-complementary
#2F61B9 #B9422F #A6B92F
monochromatic
#162E57 #234788 #2F61B9 #5281D3 #83A4DF

Accessibility & contrast

On white

5.95
#2F61B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F61B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B9#FFFFFF#000000##FFFFFF
##2F61B91.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABC
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f61b9;
/* rgb */ color: rgb(47, 97, 185);
/* oklch */ color: oklch(50.7% 0.149 260.8);
Tailwind
colors: {
  custom: {
    50: '#7a8dcf',
    500: '#2f61b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b9;
$custom-light: #7a8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b9",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 185
  },
  "hsl": {
    "h": 218.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.14933,
    "h": 260.8
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F61B9

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

Preview Lab → · Contrast checker → · Palette generator →

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