#2F6AA8#2F6AA8

#2F6AA8 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.6% C 0.116 H 252.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F6AA8
RGBrgb(47, 106, 168)
HSLhsl(211, 56%, 42%)
HSVhsv(211, 72%, 66%)
CMYKcmyk(72%, 36.9%, 0%, 34.1%)
CIE-LABlab(43.85, 2.18, -38.82)
CIE-LCHlch(43.85, 38.88, 273.22°)
OKLaboklab(51.6% -0.0358 -0.1104)
OKLCHoklch(51.6% 0.116 252)
XYZxyz(13.3916, 13.7381, 38.9841)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AA8 #A86D2F
analogous
#2FA7A8 #2F6AA8 #312FA8
triadic
#2F6AA8 #A82F6A #6AA82F
tetradic
#2F6AA8 #A82FA7 #A86D2F #2FA831
square
#2F6AA8 #A82FA7 #A86D2F #2FA831
split-complementary
#2F6AA8 #A8312F #A7A82F
monochromatic
#142E48 #224C78 #2F6AA8 #4888CC #78A7D9

Accessibility & contrast

On white

5.60
#2F6AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F6AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AA8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AA8#FFFFFF#000000##FFFFFF
##2F6AA81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f6aa8;
/* rgb */ color: rgb(47, 106, 168);
/* oklch */ color: oklch(51.6% 0.116 252.0);
Tailwind
colors: {
  custom: {
    50: '#7794c2',
    500: '#2f6aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aa8;
$custom-light: #7794c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aa8",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 168
  },
  "hsl": {
    "h": 210.744,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.11608,
    "h": 252
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#2F6AA8
secondary
#C19A71
accent
#9648E0
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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