#2F6796#2F6796

#2F6796 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.096 H 246.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2F6796
RGBrgb(47, 103, 150)
HSLhsl(207, 52%, 39%)
HSVhsv(207, 69%, 59%)
CMYKcmyk(68.7%, 31.3%, 0%, 41.2%)
CIE-LABlab(42.01, -2.56, -31.07)
CIE-LCHlch(42.01, 31.17, 265.30°)
OKLaboklab(49.84% -0.038 -0.0878)
OKLCHoklch(49.84% 0.096 246.6)
XYZxyz(11.5255, 12.5056, 30.6547)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6796 #965E2F
analogous
#2F9691 #2F6796 #2F3396
triadic
#2F6796 #962F67 #67962F
tetradic
#2F6796 #912F96 #965E2F #33962F
square
#2F6796 #912F96 #965E2F #33962F
split-complementary
#2F6796 #962F33 #96912F
monochromatic
#122739 #204767 #2F6796 #3F87C3 #6EA4D2

Accessibility & contrast

On white

6.00
#2F6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6796
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6796#FFFFFF#000000##FFFFFF
##2F67961.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526998
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6796;
/* rgb */ color: rgb(47, 103, 150);
/* oklch */ color: oklch(49.8% 0.096 246.6);
Tailwind
colors: {
  custom: {
    50: '#7392b5',
    500: '#2f6796',
    950: '#000000',
  },
}
SCSS
$custom: #2f6796;
$custom-light: #7392b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6796",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 207.379,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.09568,
    "h": 246.6
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#2F6796
secondary
#B98D68
accent
#8E4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6796

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

Preview Lab → · Contrast checker → · Palette generator →

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