#2F61B3#2F61B3

#2F61B3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.141 H 259.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2F61B3
RGBrgb(47, 97, 179)
HSLhsl(217, 58%, 44%)
HSVhsv(217, 74%, 70%)
CMYKcmyk(73.7%, 45.8%, 0%, 29.8%)
CIE-LABlab(41.86, 12.02, -48.47)
CIE-LCHlch(41.86, 49.94, 283.93°)
OKLaboklab(50.25% -0.025 -0.1389)
OKLCHoklch(50.25% 0.141 259.8)
XYZxyz(13.5807, 12.4069, 44.3181)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B3 #B3812F
analogous
#2FA3B3 #2F61B3 #3F2FB3
triadic
#2F61B3 #B32F61 #61B32F
tetradic
#2F61B3 #B32FA3 #B3812F #2FB33F
square
#2F61B3 #B32FA3 #B3812F #2FB33F
split-complementary
#2F61B3 #B33F2F #A3B32F
monochromatic
#162C52 #224783 #2F61B3 #4F80D1 #7FA3DD

Accessibility & contrast

On white

6.03
#2F61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F61B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61B3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B3#FFFFFF#000000##FFFFFF
##2F61B31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f61b3;
/* rgb */ color: rgb(47, 97, 179);
/* oklch */ color: oklch(50.3% 0.141 259.8);
Tailwind
colors: {
  custom: {
    50: '#798dca',
    500: '#2f61b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b3;
$custom-light: #798dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b3",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 217.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.14112,
    "h": 259.8
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#2F61B3
secondary
#C6A878
accent
#A746E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61B3

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

Preview Lab → · Contrast checker → · Palette generator →

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