#2F61C0#2F61C0

#2F61C0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.159 H 261.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F61C0
RGBrgb(47, 97, 192)
HSLhsl(219, 61%, 47%)
HSVhsv(219, 76%, 75%)
CMYKcmyk(75.5%, 49.5%, 0%, 24.7%)
CIE-LABlab(42.70, 16.93, -54.69)
CIE-LCHlch(42.70, 57.26, 287.20°)
OKLaboklab(51.17% -0.0229 -0.1572)
OKLCHoklch(51.17% 0.159 261.7)
XYZxyz(14.9580, 12.9578, 51.5717)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F61C0 #C08E2F
analogous
#2FAAC0 #2F61C0 #452FC0
triadic
#2F61C0 #C02F61 #61C02F
tetradic
#2F61C0 #C02FAA #C08E2F #2FC045
square
#2F61C0 #C02FAA #C08E2F #2FC045
split-complementary
#2F61C0 #C0452F #AAC02F
monochromatic
#172F5E #23488F #2F61C0 #5682D6 #88A7E2

Accessibility & contrast

On white

5.85
#2F61C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F61C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F61C0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F61C0#FFFFFF#000000##FFFFFF
##2F61C01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f61c0;
/* rgb */ color: rgb(47, 97, 192);
/* oklch */ color: oklch(51.2% 0.159 261.7);
Tailwind
colors: {
  custom: {
    50: '#7c8dd4',
    500: '#2f61c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f61c0;
$custom-light: #7c8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f61c0",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 192
  },
  "hsl": {
    "h": 219.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.15887,
    "h": 261.7
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#2F61C0
secondary
#CBB17F
accent
#AD44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F61C0

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

Preview Lab → · Contrast checker → · Palette generator →

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