#2F6FB6#2F6FB6

#2F6FB6 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.129 H 253.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB6
RGBrgb(47, 111, 182)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(74.2%, 39%, 0%, 28.6%)
CIE-LABlab(46.11, 4.26, -43.42)
CIE-LCHlch(46.11, 43.63, 275.61°)
OKLaboklab(53.61% -0.037 -0.1238)
OKLCHoklch(53.61% 0.129 253.3)
XYZxyz(15.2971, 15.3489, 46.4033)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB6 #B6762F
analogous
#2FB2B6 #2F6FB6 #332FB6
triadic
#2F6FB6 #B62F6F #6FB62F
tetradic
#2F6FB6 #B62FB2 #B6762F #2FB633
square
#2F6FB6 #B62FB2 #B6762F #2FB633
split-complementary
#2F6FB6 #B6332F #B2B62F
monochromatic
#163455 #225185 #2F6FB6 #508ED2 #81ADDE

Accessibility & contrast

On white

5.16
#2F6FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F6FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB6#FFFFFF#000000##FFFFFF
##2F6FB61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb6;
/* rgb */ color: rgb(47, 111, 182);
/* oklch */ color: oklch(53.6% 0.129 253.3);
Tailwind
colors: {
  custom: {
    50: '#7997cc',
    500: '#2f6fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb6;
$custom-light: #7997cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb6",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 182
  },
  "hsl": {
    "h": 211.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.12925,
    "h": 253.3
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#2F6FB6
secondary
#C7A279
accent
#9846E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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