#2F61BC#2F61BC

#2F61BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.153 H 261.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F61BC
RGBrgb(47, 97, 188)
HSLhsl(219, 60%, 46%)
HSVhsv(219, 75%, 74%)
CMYKcmyk(75%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.43, 15.42, -52.80)
CIE-LCHlch(42.43, 55.00, 286.28°)
OKLaboklab(50.88% -0.0235 -0.1516)
OKLCHoklch(50.88% 0.153 261.2)
XYZxyz(14.5208, 12.7829, 49.2693)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61BC #BC8A2F
analogous
#2FA7BC #2F61BC #432FBC
triadic
#2F61BC #BC2F61 #61BC2F
tetradic
#2F61BC #BC2FA7 #BC8A2F #2FBC43
square
#2F61BC #BC2FA7 #BC8A2F #2FBC43
split-complementary
#2F61BC #BC432F #A7BC2F
monochromatic
#172E5A #23488B #2F61BC #5481D4 #85A5E0

Accessibility & contrast

On white

5.90
#2F61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2F61BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61BC#FFFFFF#000000##FFFFFF
##2F61BC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f61bc;
/* rgb */ color: rgb(47, 97, 188);
/* oklch */ color: oklch(50.9% 0.153 261.2);
Tailwind
colors: {
  custom: {
    50: '#7b8dd1',
    500: '#2f61bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f61bc;
$custom-light: #7b8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61bc",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 218.723,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.15343,
    "h": 261.2
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#2F61BC
secondary
#CAAF7D
accent
#AB45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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