#2F6BA6#2F6BA6

#2F6BA6 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.112 H 250.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F6BA6
RGBrgb(47, 107, 166)
HSLhsl(210, 56%, 42%)
HSVhsv(210, 72%, 65%)
CMYKcmyk(71.7%, 35.5%, 0%, 34.9%)
CIE-LABlab(44.05, 0.82, -37.34)
CIE-LCHlch(44.05, 37.34, 271.26°)
OKLaboklab(51.71% -0.0374 -0.1061)
OKLCHoklch(51.71% 0.112 250.6)
XYZxyz(13.3103, 13.8715, 38.0450)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BA6 #A66A2F
analogous
#2FA6A6 #2F6BA6 #2F2FA6
triadic
#2F6BA6 #A62F6B #6BA62F
tetradic
#2F6BA6 #A62FA6 #A66A2F #2FA62F
square
#2F6BA6 #A62FA6 #A66A2F #2FA62F
split-complementary
#2F6BA6 #A62F2F #A6A62F
monochromatic
#142E47 #214C76 #2F6BA6 #478ACB #77A8D8

Accessibility & contrast

On white

5.56
#2F6BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F6BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BA6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BA6#FFFFFF#000000##FFFFFF
##2F6BA61.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f6ba6;
/* rgb */ color: rgb(47, 107, 166);
/* oklch */ color: oklch(51.7% 0.112 250.6);
Tailwind
colors: {
  custom: {
    50: '#7695c1',
    500: '#2f6ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ba6;
$custom-light: #7695c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ba6",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 166
  },
  "hsl": {
    "h": 209.748,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.11245,
    "h": 250.6
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#2F6BA6
secondary
#C19870
accent
#9349DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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