#2F6AA6#2F6AA6

#2F6AA6 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.5% C 0.113 H 251.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F6AA6
RGBrgb(47, 106, 166)
HSLhsl(210, 56%, 42%)
HSVhsv(210, 72%, 65%)
CMYKcmyk(71.7%, 36.1%, 0%, 34.9%)
CIE-LABlab(43.75, 1.44, -37.81)
CIE-LCHlch(43.75, 37.84, 272.18°)
OKLaboklab(51.48% -0.0364 -0.1075)
OKLCHoklch(51.48% 0.113 251.3)
XYZxyz(13.2067, 13.6641, 38.0104)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AA6 #A66B2F
analogous
#2FA6A6 #2F6AA6 #2F2FA6
triadic
#2F6AA6 #A62F6A #6AA62F
tetradic
#2F6AA6 #A62FA6 #A66B2F #2FA62F
square
#2F6AA6 #A62FA6 #A66B2F #2FA62F
split-complementary
#2F6AA6 #A62F2F #A6A62F
monochromatic
#142D47 #214C76 #2F6AA6 #4789CB #77A7D8

Accessibility & contrast

On white

5.63
#2F6AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F6AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AA6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AA6#FFFFFF#000000##FFFFFF
##2F6AA61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA8
Deuteranopia (green-blind)
#3E62A5
Tritanopia (blue-blind)
#007880
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f6aa6;
/* rgb */ color: rgb(47, 106, 166);
/* oklch */ color: oklch(51.5% 0.113 251.3);
Tailwind
colors: {
  custom: {
    50: '#7694c1',
    500: '#2f6aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aa6;
$custom-light: #7694c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aa6",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 166
  },
  "hsl": {
    "h": 210.252,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.11346,
    "h": 251.3
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#2F6AA6
secondary
#C19970
accent
#9549DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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