#2F6AC2#2F6AC2

#2F6AC2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.151 H 258.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC2
RGBrgb(47, 106, 194)
HSLhsl(216, 61%, 47%)
HSVhsv(216, 76%, 76%)
CMYKcmyk(75.8%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.37, 11.91, -51.56)
CIE-LCHlch(45.37, 52.92, 283.01°)
OKLaboklab(53.26% -0.0301 -0.1478)
OKLCHoklch(53.26% 0.151 258.5)
XYZxyz(16.0604, 14.8056, 53.0398)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC2 #C2872F
analogous
#2FB4C2 #2F6AC2 #3D2FC2
triadic
#2F6AC2 #C22F6A #6AC22F
tetradic
#2F6AC2 #C22FB4 #C2872F #2FC23D
square
#2F6AC2 #C22FB4 #C2872F #2FC23D
split-complementary
#2F6AC2 #C23D2F #B4C22F
monochromatic
#17345F #234F91 #2F6AC2 #588BD6 #89ADE2

Accessibility & contrast

On white

5.30
#2F6AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F6AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC2#FFFFFF#000000##FFFFFF
##2F6AC21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C5
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6ac2;
/* rgb */ color: rgb(47, 106, 194);
/* oklch */ color: oklch(53.3% 0.151 258.5);
Tailwind
colors: {
  custom: {
    50: '#7c94d5',
    500: '#2f6ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac2;
$custom-light: #7c94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac2",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 215.918,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.15085,
    "h": 258.5
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#2F6AC2
secondary
#CCAE81
accent
#A444E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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