#2F6FA7#2F6FA7

#2F6FA7 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.110 H 248.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F6FA7
RGBrgb(47, 111, 167)
HSLhsl(208, 56%, 42%)
HSVhsv(208, 72%, 65%)
CMYKcmyk(71.9%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.31, -1.27, -35.94)
CIE-LCHlch(45.31, 35.96, 267.97°)
OKLaboklab(52.72% -0.0411 -0.1019)
OKLCHoklch(52.72% 0.11 248.1)
XYZxyz(13.8291, 14.7617, 38.6722)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FA7 #A7672F
analogous
#2FA7A3 #2F6FA7 #2F33A7
triadic
#2F6FA7 #A72F6F #6FA72F
tetradic
#2F6FA7 #A32FA7 #A7672F #33A72F
square
#2F6FA7 #A32FA7 #A7672F #33A72F
split-complementary
#2F6FA7 #A72F33 #A7A32F
monochromatic
#143047 #224F77 #2F6FA7 #488ECB #78ABD9

Accessibility & contrast

On white

5.31
#2F6FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6FA7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FA7#FFFFFF#000000##FFFFFF
##2F6FA71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6fa7;
/* rgb */ color: rgb(47, 111, 167);
/* oklch */ color: oklch(52.7% 0.110 248.1);
Tailwind
colors: {
  custom: {
    50: '#7798c1',
    500: '#2f6fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fa7;
$custom-light: #7798c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fa7",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 208,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.10988,
    "h": 248.1
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#2F6FA7
secondary
#C19671
accent
#8F48DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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