#2F6898#2F6898

#2F6898 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.097 H 246.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F6898
RGBrgb(47, 104, 152)
HSLhsl(207, 53%, 39%)
HSVhsv(207, 69%, 60%)
CMYKcmyk(69.1%, 31.6%, 0%, 40.4%)
CIE-LABlab(42.42, -2.44, -31.62)
CIE-LCHlch(42.42, 31.71, 265.58°)
OKLaboklab(50.19% -0.0384 -0.0894)
OKLCHoklch(50.19% 0.097 246.8)
XYZxyz(11.7880, 12.7707, 31.5434)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6898 #985F2F
analogous
#2F9894 #2F6898 #2F3398
triadic
#2F6898 #982F68 #68982F
tetradic
#2F6898 #942F98 #985F2F #33982F
square
#2F6898 #942F98 #985F2F #33982F
split-complementary
#2F6898 #982F33 #98942F
monochromatic
#12283B #214869 #2F6898 #4088C4 #6FA5D2

Accessibility & contrast

On white

5.91
#2F6898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6898
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6898#FFFFFF#000000##FFFFFF
##2F68981.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6898;
/* rgb */ color: rgb(47, 104, 152);
/* oklch */ color: oklch(50.2% 0.097 246.8);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#2f6898',
    950: '#000000',
  },
}
SCSS
$custom: #2f6898;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6898",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 152
  },
  "hsl": {
    "h": 207.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.09732,
    "h": 246.8
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#2F6898
secondary
#BA8E69
accent
#8E4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #2F6898

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

Preview Lab → · Contrast checker → · Palette generator →

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