#2F6797#2F6797

#2F6797 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.9% C 0.097 H 247.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F6797
RGBrgb(47, 103, 151)
HSLhsl(208, 53%, 39%)
HSVhsv(208, 69%, 59%)
CMYKcmyk(68.9%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.06, -2.19, -31.58)
CIE-LCHlch(42.06, 31.66, 266.03°)
OKLaboklab(49.9% -0.0377 -0.0893)
OKLCHoklch(49.9% 0.097 247.1)
XYZxyz(11.6064, 12.5380, 31.0806)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6797 #975F2F
analogous
#2F9793 #2F6797 #2F3397
triadic
#2F6797 #972F67 #67972F
tetradic
#2F6797 #932F97 #975F2F #33972F
square
#2F6797 #932F97 #975F2F #33972F
split-complementary
#2F6797 #972F33 #97932F
monochromatic
#12273A #204768 #2F6797 #4087C3 #6EA4D2

Accessibility & contrast

On white

5.99
#2F6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2F6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6797
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6797#FFFFFF#000000##FFFFFF
##2F67971.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6797;
/* rgb */ color: rgb(47, 103, 151);
/* oklch */ color: oklch(49.9% 0.097 247.1);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#2f6797',
    950: '#000000',
  },
}
SCSS
$custom: #2f6797;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6797",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 207.692,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.09694,
    "h": 247.1
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6797

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

Preview Lab → · Contrast checker → · Palette generator →

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