#2F6FC8#2F6FC8

#2F6FC8 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.8% C 0.153 H 257.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F6FC8
RGBrgb(47, 111, 200)
HSLhsl(215, 62%, 48%)
HSVhsv(215, 77%, 78%)
CMYKcmyk(76.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(47.16, 11.00, -52.14)
CIE-LCHlch(47.16, 53.29, 281.92°)
OKLaboklab(54.76% -0.0332 -0.1494)
OKLCHoklch(54.76% 0.153 257.5)
XYZxyz(17.2782, 16.1414, 56.8374)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FC8 #C8882F
analogous
#2FBBC8 #2F6FC8 #3B2FC8
triadic
#2F6FC8 #C82F6F #6FC82F
tetradic
#2F6FC8 #C82FBB #C8882F #2FC83B
square
#2F6FC8 #C82FBB #C8882F #2FC83B
split-complementary
#2F6FC8 #C83B2F #BBC82F
monochromatic
#183865 #235396 #2F6FC8 #5C90D9 #8DB2E4

Accessibility & contrast

On white

4.97
#2F6FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F6FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FC8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FC8#FFFFFF#000000##FFFFFF
##2F6FC81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#2169C6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f6fc8;
/* rgb */ color: rgb(47, 111, 200);
/* oklch */ color: oklch(54.8% 0.153 257.5);
Tailwind
colors: {
  custom: {
    50: '#7d97d9',
    500: '#2f6fc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fc8;
$custom-light: #7d97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fc8",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 214.902,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.15307,
    "h": 257.5
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#2F6FC8
secondary
#CFAF84
accent
#A143E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F6FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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