#2F60B5#2F60B5

#2F60B5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.145 H 260.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F60B5
RGBrgb(47, 96, 181)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 71%)
CMYKcmyk(74%, 47%, 0%, 29%)
CIE-LABlab(41.70, 13.42, -49.90)
CIE-LCHlch(41.70, 51.67, 285.05°)
OKLaboklab(50.17% -0.0237 -0.1431)
OKLCHoklch(50.17% 0.145 260.6)
XYZxyz(13.6926, 12.3048, 45.3605)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60B5 #B5842F
analogous
#2FA3B5 #2F60B5 #412FB5
triadic
#2F60B5 #B52F60 #60B52F
tetradic
#2F60B5 #B52FA3 #B5842F #2FB541
square
#2F60B5 #B52FA3 #B5842F #2FB541
split-complementary
#2F60B5 #B5412F #A3B52F
monochromatic
#162C54 #224684 #2F60B5 #507FD1 #80A3DE

Accessibility & contrast

On white

6.07
#2F60B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F60B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60B5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60B5#FFFFFF#000000##FFFFFF
##2F60B51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#115DB3
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f60b5;
/* rgb */ color: rgb(47, 96, 181);
/* oklch */ color: oklch(50.2% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#798ccc',
    500: '#2f60b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f60b5;
$custom-light: #798ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60b5",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 218.06,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.14506,
    "h": 260.6
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#2F60B5
secondary
#C7AA79
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F60B5

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

Preview Lab → · Contrast checker → · Palette generator →

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