#2F6EB6#2F6EB6

#2F6EB6 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.130 H 253.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F6EB6
RGBrgb(47, 110, 182)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(74.2%, 39.6%, 0%, 28.6%)
CIE-LABlab(45.81, 4.89, -43.89)
CIE-LCHlch(45.81, 44.16, 276.35°)
OKLaboklab(53.38% -0.0361 -0.1252)
OKLCHoklch(53.38% 0.13 253.9)
XYZxyz(15.1886, 15.1319, 46.3672)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB6 #B6772F
analogous
#2FB2B6 #2F6EB6 #342FB6
triadic
#2F6EB6 #B62F6E #6EB62F
tetradic
#2F6EB6 #B62FB2 #B6772F #2FB634
square
#2F6EB6 #B62FB2 #B6772F #2FB634
split-complementary
#2F6EB6 #B6342F #B2B62F
monochromatic
#163355 #225185 #2F6EB6 #508DD2 #81ADDE

Accessibility & contrast

On white

5.22
#2F6EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F6EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EB6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EB6#FFFFFF#000000##FFFFFF
##2F6EB61.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#3767B5
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6eb6;
/* rgb */ color: rgb(47, 110, 182);
/* oklch */ color: oklch(53.4% 0.130 253.9);
Tailwind
colors: {
  custom: {
    50: '#7997cc',
    500: '#2f6eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb6;
$custom-light: #7997cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb6",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 212,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.13033,
    "h": 253.9
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#2F6EB6
secondary
#C7A379
accent
#9946E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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