#2F6BC1#2F6BC1

#2F6BC1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.148 H 257.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6BC1
RGBrgb(47, 107, 193)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(75.6%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.59, 10.90, -50.62)
CIE-LCHlch(45.59, 51.78, 282.15°)
OKLaboklab(53.41% -0.0311 -0.1451)
OKLCHoklch(53.41% 0.148 257.9)
XYZxyz(16.0521, 14.9682, 52.4849)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BC1 #C1852F
analogous
#2FB4C1 #2F6BC1 #3C2FC1
triadic
#2F6BC1 #C12F6B #6BC12F
tetradic
#2F6BC1 #C12FB4 #C1852F #2FC13C
square
#2F6BC1 #C12FB4 #C1852F #2FC13C
split-complementary
#2F6BC1 #C13C2F #B4C12F
monochromatic
#17345F #235090 #2F6BC1 #578BD6 #88ADE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6BC1#FFFFFF#000000##FFFFFF
##2F6BC11.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)
#3F73C4
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6bc1;
/* rgb */ color: rgb(47, 107, 193);
/* oklch */ color: oklch(53.4% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#2f6bc1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bc1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bc1",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 215.342,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.14835,
    "h": 257.9
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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