#2F60C5#2F60C5

#2F60C5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.167 H 262.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2F60C5
RGBrgb(47, 96, 197)
HSLhsl(220, 61%, 48%)
HSVhsv(220, 76%, 77%)
CMYKcmyk(76.1%, 51.3%, 0%, 22.7%)
CIE-LABlab(42.76, 19.47, -57.49)
CIE-LCHlch(42.76, 60.70, 288.71°)
OKLaboklab(51.33% -0.0215 -0.1655)
OKLCHoklch(51.33% 0.167 262.6)
XYZxyz(15.4296, 12.9995, 54.5085)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60C5 #C5942F
analogous
#2FABC5 #2F60C5 #492FC5
triadic
#2F60C5 #C52F60 #60C52F
tetradic
#2F60C5 #C52FAB #C5942F #2FC549
square
#2F60C5 #C52FAB #C5942F #2FC549
split-complementary
#2F60C5 #C5492F #ABC52F
monochromatic
#173062 #234894 #2F60C5 #5A83D8 #8BA8E3

Accessibility & contrast

On white

5.83
#2F60C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F60C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60C5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60C5#FFFFFF#000000##FFFFFF
##2F60C51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f60c5;
/* rgb */ color: rgb(47, 96, 197);
/* oklch */ color: oklch(51.3% 0.167 262.6);
Tailwind
colors: {
  custom: {
    50: '#7d8cd7',
    500: '#2f60c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f60c5;
$custom-light: #7d8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60c5",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 197
  },
  "hsl": {
    "h": 220.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.16684,
    "h": 262.6
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#2F60C5
secondary
#CDB582
accent
#B043E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F60C5

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

Preview Lab → · Contrast checker → · Palette generator →

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