#2F6798#2F6798

#2F6798 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.098 H 247.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2F6798
RGBrgb(47, 103, 152)
HSLhsl(208, 53%, 39%)
HSVhsv(208, 69%, 60%)
CMYKcmyk(69.1%, 32.2%, 0%, 40.4%)
CIE-LABlab(42.11, -1.83, -32.10)
CIE-LCHlch(42.11, 32.15, 266.74°)
OKLaboklab(49.95% -0.0373 -0.0908)
OKLCHoklch(49.95% 0.098 247.7)
XYZxyz(11.6879, 12.5706, 31.5101)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6798 #98602F
analogous
#2F9895 #2F6798 #2F3398
triadic
#2F6798 #982F67 #67982F
tetradic
#2F6798 #952F98 #98602F #33982F
square
#2F6798 #952F98 #98602F #33982F
split-complementary
#2F6798 #982F33 #98952F
monochromatic
#12283B #214769 #2F6798 #4086C4 #6FA4D2

Accessibility & contrast

On white

5.98
#2F6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6798
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6798#FFFFFF#000000##FFFFFF
##2F67981.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6798;
/* rgb */ color: rgb(47, 103, 152);
/* oklch */ color: oklch(50.0% 0.098 247.7);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#2f6798',
    950: '#000000',
  },
}
SCSS
$custom: #2f6798;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6798",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 208,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.09821,
    "h": 247.7
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#2F6798
secondary
#BA8F69
accent
#8F4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6798

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

Preview Lab → · Contrast checker → · Palette generator →

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