#2F60A7#2F60A7

#2F60A7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.2% C 0.126 H 257.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2F60A7
RGBrgb(47, 96, 167)
HSLhsl(216, 56%, 42%)
HSVhsv(216, 72%, 65%)
CMYKcmyk(71.9%, 42.5%, 0%, 34.5%)
CIE-LABlab(40.83, 8.14, -43.04)
CIE-LCHlch(40.83, 43.80, 280.71°)
OKLaboklab(49.22% -0.0264 -0.1229)
OKLCHoklch(49.22% 0.126 257.9)
XYZxyz(12.3277, 11.7588, 38.1717)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60A7 #A7762F
analogous
#2F9CA7 #2F60A7 #3A2FA7
triadic
#2F60A7 #A72F60 #60A72F
tetradic
#2F60A7 #A72F9C #A7762F #2FA73A
square
#2F60A7 #A72F9C #A7762F #2FA73A
split-complementary
#2F60A7 #A73A2F #9CA72F
monochromatic
#142947 #224577 #2F60A7 #487ECB #789FD9

Accessibility & contrast

On white

6.26
#2F60A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2F60A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60A7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60A7#FFFFFF#000000##FFFFFF
##2F60A71.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#2A5BA6
Tritanopia (blue-blind)
#00717B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f60a7;
/* rgb */ color: rgb(47, 96, 167);
/* oklch */ color: oklch(49.2% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#778cc1',
    500: '#2f60a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f60a7;
$custom-light: #778cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60a7",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 167
  },
  "hsl": {
    "h": 215.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.12575,
    "h": 257.9
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#2F60A7
secondary
#C1A071
accent
#A248DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F60A7

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

Preview Lab → · Contrast checker → · Palette generator →

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