#2F60B2#2F60B2

#2F60B2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.141 H 260.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2F60B2
RGBrgb(47, 96, 178)
HSLhsl(218, 58%, 44%)
HSVhsv(218, 74%, 70%)
CMYKcmyk(73.6%, 46.1%, 0%, 30.2%)
CIE-LABlab(41.51, 12.29, -48.44)
CIE-LCHlch(41.51, 49.98, 284.23°)
OKLaboklab(49.96% -0.0243 -0.1388)
OKLCHoklch(49.96% 0.141 260.1)
XYZxyz(13.3881, 12.1830, 43.7568)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60B2 #B2812F
analogous
#2FA2B2 #2F60B2 #402FB2
triadic
#2F60B2 #B22F60 #60B22F
tetradic
#2F60B2 #B22FA2 #B2812F #2FB240
square
#2F60B2 #B22FA2 #B2812F #2FB240
split-complementary
#2F60B2 #B2402F #A2B22F
monochromatic
#152C51 #224682 #2F60B2 #4E7FD0 #7EA2DD

Accessibility & contrast

On white

6.11
#2F60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2F60B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60B2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60B2#FFFFFF#000000##FFFFFF
##2F60B21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f60b2;
/* rgb */ color: rgb(47, 96, 178);
/* oklch */ color: oklch(50.0% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#798cc9',
    500: '#2f60b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f60b2;
$custom-light: #798cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60b2",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 217.557,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.14093,
    "h": 260.1
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#2F60B2
secondary
#C6A877
accent
#A746E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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