#2F6FC2#2F6FC2

#2F6FC2 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.145 H 256.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F6FC2
RGBrgb(47, 111, 194)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 76%, 76%)
CMYKcmyk(75.8%, 42.8%, 0%, 23.9%)
CIE-LABlab(46.80, 8.75, -49.27)
CIE-LCHlch(46.80, 50.04, 280.07°)
OKLaboklab(54.37% -0.0344 -0.141)
OKLCHoklch(54.37% 0.145 256.3)
XYZxyz(16.5907, 15.8664, 53.2166)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FC2 #C2822F
analogous
#2FB8C2 #2F6FC2 #392FC2
triadic
#2F6FC2 #C22F6F #6FC22F
tetradic
#2F6FC2 #C22FB8 #C2822F #2FC239
square
#2F6FC2 #C22FB8 #C2822F #2FC239
split-complementary
#2F6FC2 #C2392F #B8C22F
monochromatic
#17375F #235391 #2F6FC2 #588FD6 #89B0E2

Accessibility & contrast

On white

5.03
#2F6FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F6FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FC2#FFFFFF#000000##FFFFFF
##2F6FC21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#2B69C0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f6fc2;
/* rgb */ color: rgb(47, 111, 194);
/* oklch */ color: oklch(54.4% 0.145 256.3);
Tailwind
colors: {
  custom: {
    50: '#7c97d5',
    500: '#2f6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fc2;
$custom-light: #7c97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fc2",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 213.878,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.14511,
    "h": 256.3
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#2F6FC2
secondary
#CCAB81
accent
#9E44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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