#2F6FA8#2F6FA8

#2F6FA8 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.111 H 248.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F6FA8
RGBrgb(47, 111, 168)
HSLhsl(208, 56%, 42%)
HSVhsv(208, 72%, 66%)
CMYKcmyk(72%, 33.9%, 0%, 34.1%)
CIE-LABlab(45.36, -0.91, -36.44)
CIE-LCHlch(45.36, 36.45, 268.58°)
OKLaboklab(52.77% -0.0408 -0.1034)
OKLCHoklch(52.77% 0.111 248.5)
XYZxyz(13.9219, 14.7988, 39.1609)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FA8 #A8682F
analogous
#2FA8A4 #2F6FA8 #2F33A8
triadic
#2F6FA8 #A82F6F #6FA82F
tetradic
#2F6FA8 #A42FA8 #A8682F #33A82F
square
#2F6FA8 #A42FA8 #A8682F #33A82F
split-complementary
#2F6FA8 #A82F33 #A8A42F
monochromatic
#143048 #224F78 #2F6FA8 #488ECC #78ACD9

Accessibility & contrast

On white

5.30
#2F6FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F6FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FA8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FA8#FFFFFF#000000##FFFFFF
##2F6FA81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6fa8;
/* rgb */ color: rgb(47, 111, 168);
/* oklch */ color: oklch(52.8% 0.111 248.5);
Tailwind
colors: {
  custom: {
    50: '#7798c2',
    500: '#2f6fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fa8;
$custom-light: #7798c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fa8",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 208.264,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.11115,
    "h": 248.5
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#2F6FA8
secondary
#C19771
accent
#9048E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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