#2F6FC1#2F6FC1

#2F6FC1 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.144 H 256.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F6FC1
RGBrgb(47, 111, 193)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 76%, 76%)
CMYKcmyk(75.6%, 42.5%, 0%, 24.3%)
CIE-LABlab(46.74, 8.37, -48.78)
CIE-LCHlch(46.74, 49.50, 279.74°)
OKLaboklab(54.3% -0.0346 -0.1396)
OKLCHoklch(54.3% 0.144 256.1)
XYZxyz(16.4788, 15.8216, 52.6271)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FC1 #C1812F
analogous
#2FB8C1 #2F6FC1 #382FC1
triadic
#2F6FC1 #C12F6F #6FC12F
tetradic
#2F6FC1 #C12FB8 #C1812F #2FC138
square
#2F6FC1 #C12FB8 #C1812F #2FC138
split-complementary
#2F6FC1 #C1382F #B8C12F
monochromatic
#17365F #235390 #2F6FC1 #578FD6 #88B0E2

Accessibility & contrast

On white

5.04
#2F6FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F6FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FC1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FC1#FFFFFF#000000##FFFFFF
##2F6FC11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C4
Deuteranopia (green-blind)
#2C69BF
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f6fc1;
/* rgb */ color: rgb(47, 111, 193);
/* oklch */ color: oklch(54.3% 0.144 256.1);
Tailwind
colors: {
  custom: {
    50: '#7c97d4',
    500: '#2f6fc1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fc1;
$custom-light: #7c97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fc1",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 193
  },
  "hsl": {
    "h": 213.699,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.14379,
    "h": 256.1
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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