#2F6AC1#2F6AC1

#2F6AC1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.149 H 258.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC1
RGBrgb(47, 106, 193)
HSLhsl(216, 61%, 47%)
HSVhsv(216, 76%, 76%)
CMYKcmyk(75.6%, 45.1%, 0%, 24.3%)
CIE-LABlab(45.30, 11.54, -51.08)
CIE-LCHlch(45.30, 52.37, 282.72°)
OKLaboklab(53.19% -0.0303 -0.1464)
OKLCHoklch(53.19% 0.15 258.3)
XYZxyz(15.9484, 14.7608, 52.4503)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC1 #C1862F
analogous
#2FB3C1 #2F6AC1 #3D2FC1
triadic
#2F6AC1 #C12F6A #6AC12F
tetradic
#2F6AC1 #C12FB3 #C1862F #2FC13D
square
#2F6AC1 #C12FB3 #C1862F #2FC13D
split-complementary
#2F6AC1 #C13D2F #B3C12F
monochromatic
#17345F #234F90 #2F6AC1 #578AD6 #88ADE2

Accessibility & contrast

On white

5.31
#2F6AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F6AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC1#FFFFFF#000000##FFFFFF
##2F6AC11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6ac1;
/* rgb */ color: rgb(47, 106, 193);
/* oklch */ color: oklch(53.2% 0.149 258.3);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#2f6ac1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac1",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 215.753,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.1495,
    "h": 258.3
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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