#2F61B7#2F61B7

#2F61B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.147 H 260.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2F61B7
RGBrgb(47, 97, 183)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(74.3%, 47%, 0%, 28.2%)
CIE-LABlab(42.11, 13.53, -50.40)
CIE-LCHlch(42.11, 52.19, 285.03°)
OKLaboklab(50.53% -0.0243 -0.1446)
OKLCHoklch(50.53% 0.147 260.5)
XYZxyz(13.9911, 12.5711, 46.4797)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61B7 #B7852F
analogous
#2FA5B7 #2F61B7 #412FB7
triadic
#2F61B7 #B72F61 #61B72F
tetradic
#2F61B7 #B72FA5 #B7852F #2FB741
square
#2F61B7 #B72FA5 #B7852F #2FB741
split-complementary
#2F61B7 #B7412F #A5B72F
monochromatic
#162D56 #224786 #2F61B7 #5180D2 #82A4DF

Accessibility & contrast

On white

5.98
#2F61B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F61B7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61B7#FFFFFF#000000##FFFFFF
##2F61B71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#105EB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f61b7;
/* rgb */ color: rgb(47, 97, 183);
/* oklch */ color: oklch(50.5% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#7a8dcd',
    500: '#2f61b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f61b7;
$custom-light: #7a8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61b7",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 217.941,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.1466,
    "h": 260.5
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#2F61B7
secondary
#C8AB7A
accent
#A945E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F61B7

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

Preview Lab → · Contrast checker → · Palette generator →

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