#2F6FC5#2F6FC5

#2F6FC5 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.6% C 0.149 H 256.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F6FC5
RGBrgb(47, 111, 197)
HSLhsl(214, 61%, 48%)
HSVhsv(214, 76%, 77%)
CMYKcmyk(76.1%, 43.7%, 0%, 22.7%)
CIE-LABlab(46.98, 9.88, -50.71)
CIE-LCHlch(46.98, 51.66, 281.02°)
OKLaboklab(54.57% -0.0338 -0.1452)
OKLCHoklch(54.57% 0.149 256.9)
XYZxyz(16.9311, 16.0025, 55.0090)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FC5 #C5852F
analogous
#2FBAC5 #2F6FC5 #3A2FC5
triadic
#2F6FC5 #C52F6F #6FC52F
tetradic
#2F6FC5 #C52FBA #C5852F #2FC53A
square
#2F6FC5 #C52FBA #C5852F #2FC53A
split-complementary
#2F6FC5 #C53A2F #BAC52F
monochromatic
#173762 #235394 #2F6FC5 #5A8FD8 #8BB1E3

Accessibility & contrast

On white

5.00
#2F6FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F6FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FC5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FC5#FFFFFF#000000##FFFFFF
##2F6FC51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f6fc5;
/* rgb */ color: rgb(47, 111, 197);
/* oklch */ color: oklch(54.6% 0.149 256.9);
Tailwind
colors: {
  custom: {
    50: '#7c97d7',
    500: '#2f6fc5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fc5;
$custom-light: #7c97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fc5",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 214.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.14909,
    "h": 256.9
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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