#2F60AB#2F60AB

#2F60AB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.131 H 258.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2F60AB
RGBrgb(47, 96, 171)
HSLhsl(216, 57%, 43%)
HSVhsv(216, 73%, 67%)
CMYKcmyk(72.5%, 43.9%, 0%, 32.9%)
CIE-LABlab(41.07, 9.64, -45.02)
CIE-LCHlch(41.07, 46.04, 282.09°)
OKLaboklab(49.49% -0.0256 -0.1288)
OKLCHoklch(49.49% 0.131 258.8)
XYZxyz(12.7032, 11.9090, 40.1494)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60AB #AB7A2F
analogous
#2F9EAB #2F60AB #3C2FAB
triadic
#2F60AB #AB2F60 #60AB2F
tetradic
#2F60AB #AB2F9E #AB7A2F #2FAB3C
square
#2F60AB #AB2F9E #AB7A2F #2FAB3C
split-complementary
#2F60AB #AB3C2F #9EAB2F
monochromatic
#152A4B #22457B #2F60AB #4A7ECD #7AA0DA

Accessibility & contrast

On white

6.21
#2F60AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2F60AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60AB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60AB#FFFFFF#000000##FFFFFF
##2F60AB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#255CA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f60ab;
/* rgb */ color: rgb(47, 96, 171);
/* oklch */ color: oklch(49.5% 0.131 258.8);
Tailwind
colors: {
  custom: {
    50: '#778cc4',
    500: '#2f60ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f60ab;
$custom-light: #778cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60ab",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 216.29,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.13128,
    "h": 258.8
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#2F60AB
secondary
#C3A373
accent
#A448E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F60AB

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

Preview Lab → · Contrast checker → · Palette generator →

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