#2F6FA6#2F6FA6

#2F6FA6 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.7% C 0.109 H 247.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6FA6
RGBrgb(47, 111, 166)
HSLhsl(208, 56%, 42%)
HSVhsv(208, 72%, 65%)
CMYKcmyk(71.7%, 33.1%, 0%, 34.9%)
CIE-LABlab(45.26, -1.64, -35.43)
CIE-LCHlch(45.26, 35.47, 267.36°)
OKLaboklab(52.66% -0.0414 -0.1004)
OKLCHoklch(52.66% 0.109 247.6)
XYZxyz(13.7371, 14.7249, 38.1872)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FA6 #A6662F
analogous
#2FA6A2 #2F6FA6 #2F34A6
triadic
#2F6FA6 #A62F6F #6FA62F
tetradic
#2F6FA6 #A22FA6 #A6662F #34A62F
square
#2F6FA6 #A22FA6 #A6662F #34A62F
split-complementary
#2F6FA6 #A62F34 #A6A22F
monochromatic
#142F47 #214F76 #2F6FA6 #478ECB #77ABD8

Accessibility & contrast

On white

5.32
#2F6FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F6FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FA6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FA6#FFFFFF#000000##FFFFFF
##2F6FA61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6fa6;
/* rgb */ color: rgb(47, 111, 166);
/* oklch */ color: oklch(52.7% 0.109 247.6);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2f6fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fa6;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fa6",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 207.731,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.10863,
    "h": 247.6
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#2F6FA6
secondary
#C19570
accent
#8E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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