#2F60B4#2F60B4

#2F60B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.144 H 260.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2F60B4
RGBrgb(47, 96, 180)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 71%)
CMYKcmyk(73.9%, 46.7%, 0%, 29.4%)
CIE-LABlab(41.63, 13.04, -49.41)
CIE-LCHlch(41.63, 51.10, 284.79°)
OKLaboklab(50.1% -0.0239 -0.1417)
OKLCHoklch(50.1% 0.144 260.4)
XYZxyz(13.5904, 12.2639, 44.8221)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60B4 #B4832F
analogous
#2FA2B4 #2F60B4 #412FB4
triadic
#2F60B4 #B42F60 #60B42F
tetradic
#2F60B4 #B42FA2 #B4832F #2FB441
square
#2F60B4 #B42FA2 #B4832F #2FB441
split-complementary
#2F60B4 #B4412F #A2B42F
monochromatic
#162C53 #224683 #2F60B4 #4F7FD1 #80A2DE

Accessibility & contrast

On white

6.08
#2F60B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F60B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60B4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60B4#FFFFFF#000000##FFFFFF
##2F60B41.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#145DB2
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f60b4;
/* rgb */ color: rgb(47, 96, 180);
/* oklch */ color: oklch(50.1% 0.144 260.4);
Tailwind
colors: {
  custom: {
    50: '#798ccb',
    500: '#2f60b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f60b4;
$custom-light: #798ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60b4",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 217.895,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.14368,
    "h": 260.4
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#2F60B4
secondary
#C7AA78
accent
#A846E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F60B4

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

Preview Lab → · Contrast checker → · Palette generator →

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