#2F6DB6#2F6DB6

#2F6DB6 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.131 H 254.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB6
RGBrgb(47, 109, 182)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(74.2%, 40.1%, 0%, 28.6%)
CIE-LABlab(45.52, 5.51, -44.36)
CIE-LCHlch(45.52, 44.70, 277.08°)
OKLaboklab(53.15% -0.0352 -0.1266)
OKLCHoklch(53.15% 0.131 254.5)
XYZxyz(15.0813, 14.9173, 46.3314)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB6 #B6782F
analogous
#2FB1B6 #2F6DB6 #342FB6
triadic
#2F6DB6 #B62F6D #6DB62F
tetradic
#2F6DB6 #B62FB1 #B6782F #2FB634
square
#2F6DB6 #B62FB1 #B6782F #2FB634
split-complementary
#2F6DB6 #B6342F #B1B62F
monochromatic
#163355 #225085 #2F6DB6 #508CD2 #81ACDE

Accessibility & contrast

On white

5.27
#2F6DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F6DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB6#FFFFFF#000000##FFFFFF
##2F6DB61.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#3566B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6db6;
/* rgb */ color: rgb(47, 109, 182);
/* oklch */ color: oklch(53.1% 0.131 254.5);
Tailwind
colors: {
  custom: {
    50: '#7996cc',
    500: '#2f6db6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db6;
$custom-light: #7996cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db6",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 212.444,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.13141,
    "h": 254.5
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#2F6DB6
secondary
#C7A479
accent
#9A46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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