#2F60BA#2F60BA

#2F60BA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.152 H 261.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F60BA
RGBrgb(47, 96, 186)
HSLhsl(219, 60%, 46%)
HSVhsv(219, 75%, 73%)
CMYKcmyk(74.7%, 48.4%, 0%, 27.1%)
CIE-LABlab(42.02, 15.31, -52.30)
CIE-LCHlch(42.02, 54.49, 286.32°)
OKLaboklab(50.52% -0.023 -0.1502)
OKLCHoklch(50.52% 0.152 261.3)
XYZxyz(14.2149, 12.5137, 48.1111)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60BA #BA892F
analogous
#2FA5BA #2F60BA #432FBA
triadic
#2F60BA #BA2F60 #60BA2F
tetradic
#2F60BA #BA2FA5 #BA892F #2FBA43
square
#2F60BA #BA2FA5 #BA892F #2FBA43
split-complementary
#2F60BA #BA432F #A5BA2F
monochromatic
#162E58 #234789 #2F60BA #5380D3 #84A4E0

Accessibility & contrast

On white

5.99
#2F60BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F60BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60BA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60BA#FFFFFF#000000##FFFFFF
##2F60BA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f60ba;
/* rgb */ color: rgb(47, 96, 186);
/* oklch */ color: oklch(50.5% 0.152 261.3);
Tailwind
colors: {
  custom: {
    50: '#7b8ccf',
    500: '#2f60ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f60ba;
$custom-light: #7b8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60ba",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 218.849,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.15192,
    "h": 261.3
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#2F60BA
secondary
#C9AE7C
accent
#AB45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F60BA

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

Preview Lab → · Contrast checker → · Palette generator →

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