#2F6CD8#2F6CD8

#2F6CD8 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.178 H 260.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F6CD8
RGBrgb(47, 108, 216)
HSLhsl(218, 68%, 52%)
HSVhsv(218, 78%, 85%)
CMYKcmyk(78.2%, 50%, 0%, 15.3%)
CIE-LABlab(47.35, 18.92, -60.98)
CIE-LCHlch(47.35, 63.85, 287.24°)
OKLaboklab(55.24% -0.0283 -0.1755)
OKLCHoklch(55.24% 0.178 260.8)
XYZxyz(18.9250, 16.2851, 67.0983)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CD8 #D89B2F
analogous
#2FC1D8 #2F6CD8 #472FD8
triadic
#2F6CD8 #D82F6C #6CD82F
tetradic
#2F6CD8 #D82FC1 #D89B2F #2FD847
square
#2F6CD8 #D82FC1 #D89B2F #2FD847
split-complementary
#2F6CD8 #D8472F #C1D82F
monochromatic
#163976 #2052AA #2F6CD8 #6390E2 #96B5EB

Accessibility & contrast

On white

4.93
#2F6CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F6CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CD8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CD8#FFFFFF#000000##FFFFFF
##2F6CD81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2878DC
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f6cd8;
/* rgb */ color: rgb(47, 108, 216);
/* oklch */ color: oklch(55.2% 0.178 260.8);
Tailwind
colors: {
  custom: {
    50: '#8195e5',
    500: '#2f6cd8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cd8;
$custom-light: #8195e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cd8",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 218.343,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.17775,
    "h": 260.8
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#2F6CD8
secondary
#D7BC8C
accent
#AC3DEB
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2F6CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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