#2F6CC5#2F6CC5

#2F6CC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.153 H 258.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F6CC5
RGBrgb(47, 108, 197)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(76.1%, 45.2%, 0%, 22.7%)
CIE-LABlab(46.12, 11.77, -52.08)
CIE-LCHlch(46.12, 53.39, 282.74°)
OKLaboklab(53.9% -0.0312 -0.1493)
OKLCHoklch(53.9% 0.153 258.2)
XYZxyz(16.6092, 15.3588, 54.9017)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CC5 #C5882F
analogous
#2FB7C5 #2F6CC5 #3D2FC5
triadic
#2F6CC5 #C52F6C #6CC52F
tetradic
#2F6CC5 #C52FB7 #C5882F #2FC53D
square
#2F6CC5 #C52FB7 #C5882F #2FC53D
split-complementary
#2F6CC5 #C53D2F #B7C52F
monochromatic
#173662 #235194 #2F6CC5 #5A8DD8 #8BAFE3

Accessibility & contrast

On white

5.16
#2F6CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F6CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CC5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CC5#FFFFFF#000000##FFFFFF
##2F6CC51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6cc5;
/* rgb */ color: rgb(47, 108, 197);
/* oklch */ color: oklch(53.9% 0.153 258.2);
Tailwind
colors: {
  custom: {
    50: '#7d95d7',
    500: '#2f6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cc5;
$custom-light: #7d95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cc5",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 215.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.15254,
    "h": 258.2
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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