#2F6BC3#2F6BC3

#2F6BC3 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.5% C 0.151 H 258.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6BC3
RGBrgb(47, 107, 195)
HSLhsl(216, 61%, 47%)
HSVhsv(216, 76%, 76%)
CMYKcmyk(75.9%, 45.1%, 0%, 23.5%)
CIE-LABlab(45.71, 11.65, -51.58)
CIE-LCHlch(45.71, 52.88, 282.73°)
OKLaboklab(53.55% -0.0307 -0.1479)
OKLCHoklch(53.55% 0.151 258.3)
XYZxyz(16.2767, 15.0580, 53.6678)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BC3 #C3872F
analogous
#2FB5C3 #2F6BC3 #3D2FC3
triadic
#2F6BC3 #C32F6B #6BC32F
tetradic
#2F6BC3 #C32FB5 #C3872F #2FC33D
square
#2F6BC3 #C32FB5 #C3872F #2FC33D
split-complementary
#2F6BC3 #C33D2F #B5C32F
monochromatic
#173560 #235092 #2F6BC3 #588CD7 #8AAEE3

Accessibility & contrast

On white

5.23
#2F6BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F6BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BC3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BC3#FFFFFF#000000##FFFFFF
##2F6BC31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C6
Deuteranopia (green-blind)
#1D66C1
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6bc3;
/* rgb */ color: rgb(47, 107, 195);
/* oklch */ color: oklch(53.5% 0.151 258.3);
Tailwind
colors: {
  custom: {
    50: '#7c94d6',
    500: '#2f6bc3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bc3;
$custom-light: #7c94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bc3",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 215.676,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.15102,
    "h": 258.3
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#2F6BC3
secondary
#CDAE81
accent
#A344E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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