#2F60B7#2F60B7

#2F60B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.148 H 260.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2F60B7
RGBrgb(47, 96, 183)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(74.3%, 47.5%, 0%, 28.2%)
CIE-LABlab(41.83, 14.18, -50.86)
CIE-LCHlch(41.83, 52.80, 285.58°)
OKLaboklab(50.31% -0.0234 -0.1459)
OKLCHoklch(50.31% 0.148 260.9)
XYZxyz(13.8993, 12.3874, 46.4490)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60B7 #B7862F
analogous
#2FA4B7 #2F60B7 #422FB7
triadic
#2F60B7 #B72F60 #60B72F
tetradic
#2F60B7 #B72FA4 #B7862F #2FB742
square
#2F60B7 #B72FA4 #B7862F #2FB742
split-complementary
#2F60B7 #B7422F #A4B72F
monochromatic
#162D56 #224686 #2F60B7 #5180D2 #82A3DF

Accessibility & contrast

On white

6.04
#2F60B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F60B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60B7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60B7#FFFFFF#000000##FFFFFF
##2F60B71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#0A5DB5
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f60b7;
/* rgb */ color: rgb(47, 96, 183);
/* oklch */ color: oklch(50.3% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ccd',
    500: '#2f60b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f60b7;
$custom-light: #7a8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60b7",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 183
  },
  "hsl": {
    "h": 218.382,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.14781,
    "h": 260.9
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#2F60B7
secondary
#C8AC7A
accent
#AA45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F60B7

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

Preview Lab → · Contrast checker → · Palette generator →

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