#2F6FC6#2F6FC6

#2F6FC6 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.150 H 257.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F6FC6
RGBrgb(47, 111, 198)
HSLhsl(215, 62%, 48%)
HSVhsv(215, 76%, 78%)
CMYKcmyk(76.3%, 43.9%, 0%, 22.4%)
CIE-LABlab(47.04, 10.25, -51.19)
CIE-LCHlch(47.04, 52.20, 281.32°)
OKLaboklab(54.63% -0.0336 -0.1466)
OKLCHoklch(54.63% 0.15 257.1)
XYZxyz(17.0460, 16.0485, 55.6144)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FC6 #C6862F
analogous
#2FBAC6 #2F6FC6 #3B2FC6
triadic
#2F6FC6 #C62F6F #6FC62F
tetradic
#2F6FC6 #C62FBA #C6862F #2FC63B
square
#2F6FC6 #C62FBA #C6862F #2FC63B
split-complementary
#2F6FC6 #C63B2F #BAC62F
monochromatic
#183863 #235395 #2F6FC6 #5A90D8 #8CB1E4

Accessibility & contrast

On white

4.99
#2F6FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F6FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FC6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FC6#FFFFFF#000000##FFFFFF
##2F6FC61.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#2569C4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f6fc6;
/* rgb */ color: rgb(47, 111, 198);
/* oklch */ color: oklch(54.6% 0.150 257.1);
Tailwind
colors: {
  custom: {
    50: '#7d97d8',
    500: '#2f6fc6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fc6;
$custom-light: #7d97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fc6",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 214.57,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.15041,
    "h": 257.1
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#2F6FC6
secondary
#CEAE83
accent
#A043E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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