#2F6AC4#2F6AC4

#2F6AC4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.154 H 258.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC4
RGBrgb(47, 106, 196)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(76%, 45.9%, 0%, 23.1%)
CIE-LABlab(45.49, 12.67, -52.52)
CIE-LCHlch(45.49, 54.02, 283.56°)
OKLaboklab(53.4% -0.0297 -0.1506)
OKLCHoklch(53.4% 0.154 258.8)
XYZxyz(16.2865, 14.8961, 54.2307)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC4 #C4892F
analogous
#2FB4C4 #2F6AC4 #3F2FC4
triadic
#2F6AC4 #C42F6A #6AC42F
tetradic
#2F6AC4 #C42FB4 #C4892F #2FC43F
square
#2F6AC4 #C42FB4 #C4892F #2FC43F
split-complementary
#2F6AC4 #C43F2F #B4C42F
monochromatic
#173561 #234F93 #2F6AC4 #598BD7 #8AADE3

Accessibility & contrast

On white

5.28
#2F6AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F6AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC4#FFFFFF#000000##FFFFFF
##2F6AC41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C7
Deuteranopia (green-blind)
#1765C2
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6ac4;
/* rgb */ color: rgb(47, 106, 196);
/* oklch */ color: oklch(53.4% 0.154 258.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d6',
    500: '#2f6ac4',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac4;
$custom-light: #7c94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac4",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 216.242,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53396,
    "c": 0.15353,
    "h": 258.8
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#2F6AC4
secondary
#CDAF82
accent
#A543E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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