#2F6897#2F6897

#2F6897 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.096 H 246.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2F6897
RGBrgb(47, 104, 151)
HSLhsl(207, 53%, 39%)
HSVhsv(207, 69%, 59%)
CMYKcmyk(68.9%, 31.1%, 0%, 40.8%)
CIE-LABlab(42.37, -2.81, -31.10)
CIE-LCHlch(42.37, 31.23, 264.84°)
OKLaboklab(50.14% -0.0387 -0.0879)
OKLCHoklch(50.14% 0.096 246.2)
XYZxyz(11.7064, 12.7381, 31.1139)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6897 #975E2F
analogous
#2F9792 #2F6897 #2F3497
triadic
#2F6897 #972F68 #68972F
tetradic
#2F6897 #922F97 #975E2F #34972F
square
#2F6897 #922F97 #975E2F #34972F
split-complementary
#2F6897 #972F34 #97922F
monochromatic
#12283A #204868 #2F6897 #4088C3 #6EA5D2

Accessibility & contrast

On white

5.92
#2F6897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F6897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6897
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6897#FFFFFF#000000##FFFFFF
##2F68971.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f6897;
/* rgb */ color: rgb(47, 104, 151);
/* oklch */ color: oklch(50.1% 0.096 246.2);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#2f6897',
    950: '#000000',
  },
}
SCSS
$custom: #2f6897;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6897",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 207.115,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.09606,
    "h": 246.2
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#2F6897
secondary
#B98D68
accent
#8D4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #2F6897

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

Preview Lab → · Contrast checker → · Palette generator →

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