#2F6CC6#2F6CC6

#2F6CC6 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.154 H 258.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F6CC6
RGBrgb(47, 108, 198)
HSLhsl(216, 62%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(76.3%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.18, 12.15, -52.56)
CIE-LCHlch(46.18, 53.94, 283.01°)
OKLaboklab(53.97% -0.031 -0.1507)
OKLCHoklch(53.97% 0.154 258.4)
XYZxyz(16.7242, 15.4048, 55.5071)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CC6 #C6892F
analogous
#2FB7C6 #2F6CC6 #3E2FC6
triadic
#2F6CC6 #C62F6C #6CC62F
tetradic
#2F6CC6 #C62FB7 #C6892F #2FC63E
square
#2F6CC6 #C62FB7 #C6892F #2FC63E
split-complementary
#2F6CC6 #C63E2F #B7C62F
monochromatic
#183663 #235195 #2F6CC6 #5A8DD8 #8CAFE4

Accessibility & contrast

On white

5.15
#2F6CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F6CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CC6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CC6#FFFFFF#000000##FFFFFF
##2F6CC61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75C9
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6cc6;
/* rgb */ color: rgb(47, 108, 198);
/* oklch */ color: oklch(54.0% 0.154 258.4);
Tailwind
colors: {
  custom: {
    50: '#7d95d8',
    500: '#2f6cc6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cc6;
$custom-light: #7d95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cc6",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 215.762,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.15387,
    "h": 258.4
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#2F6CC6
secondary
#CEB083
accent
#A343E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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