#2F6D97#2F6D97

#2F6D97 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.092 H 241.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F6D97
RGBrgb(47, 109, 151)
HSLhsl(204, 53%, 39%)
HSVhsv(204, 69%, 59%)
CMYKcmyk(68.9%, 27.8%, 0%, 40.8%)
CIE-LABlab(43.91, -5.84, -28.69)
CIE-LCHlch(43.91, 29.27, 258.50°)
OKLaboklab(51.36% -0.044 -0.0809)
OKLCHoklch(51.36% 0.092 241.4)
XYZxyz(12.2247, 13.7747, 31.2867)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D97 #97592F
analogous
#2F978D #2F6D97 #2F3997
triadic
#2F6D97 #972F6D #6D972F
tetradic
#2F6D97 #8D2F97 #97592F #39972F
square
#2F6D97 #8D2F97 #97592F #39972F
split-complementary
#2F6D97 #972F39 #978D2F
monochromatic
#122A3A #204B68 #2F6D97 #408EC3 #6EAAD2

Accessibility & contrast

On white

5.59
#2F6D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2F6D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D97
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D97#FFFFFF#000000##FFFFFF
##2F6D971.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f6d97;
/* rgb */ color: rgb(47, 109, 151);
/* oklch */ color: oklch(51.4% 0.092 241.4);
Tailwind
colors: {
  custom: {
    50: '#7496b5',
    500: '#2f6d97',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d97;
$custom-light: #7496b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d97",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 204.231,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.09208,
    "h": 241.4
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#2F6D97
secondary
#B98968
accent
#864CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F6D97

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

Preview Lab → · Contrast checker → · Palette generator →

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