#2F6AC5#2F6AC5

#2F6AC5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.5% C 0.155 H 259.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC5
RGBrgb(47, 106, 197)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(76.1%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.55, 13.04, -52.99)
CIE-LCHlch(45.55, 54.57, 283.83°)
OKLaboklab(53.47% -0.0295 -0.152)
OKLCHoklch(53.47% 0.155 259)
XYZxyz(16.4007, 14.9417, 54.8322)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC5 #C58A2F
analogous
#2FB5C5 #2F6AC5 #3F2FC5
triadic
#2F6AC5 #C52F6A #6AC52F
tetradic
#2F6AC5 #C52FB5 #C58A2F #2FC53F
square
#2F6AC5 #C52FB5 #C58A2F #2FC53F
split-complementary
#2F6AC5 #C53F2F #B5C52F
monochromatic
#173562 #234F94 #2F6AC5 #5A8BD8 #8BAEE3

Accessibility & contrast

On white

5.26
#2F6AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F6AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC5#FFFFFF#000000##FFFFFF
##2F6AC51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C8
Deuteranopia (green-blind)
#1465C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6ac5;
/* rgb */ color: rgb(47, 106, 197);
/* oklch */ color: oklch(53.5% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#7d94d7',
    500: '#2f6ac5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac5;
$custom-light: #7d94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac5",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 216.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.15488,
    "h": 259
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#2F6AC5
secondary
#CDB082
accent
#A543E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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