#2F6FB7#2F6FB7

#2F6FB7 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.131 H 253.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB7
RGBrgb(47, 111, 183)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(74.3%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.16, 4.64, -43.92)
CIE-LCHlch(46.16, 44.16, 276.03°)
OKLaboklab(53.67% -0.0368 -0.1253)
OKLCHoklch(53.67% 0.131 253.6)
XYZxyz(15.4008, 15.3904, 46.9495)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB7 #B7772F
analogous
#2FB3B7 #2F6FB7 #332FB7
triadic
#2F6FB7 #B72F6F #6FB72F
tetradic
#2F6FB7 #B72FB3 #B7772F #2FB733
square
#2F6FB7 #B72FB3 #B7772F #2FB733
split-complementary
#2F6FB7 #B7332F #B3B72F
monochromatic
#163456 #225186 #2F6FB7 #518ED2 #82ADDF

Accessibility & contrast

On white

5.15
#2F6FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F6FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB7#FFFFFF#000000##FFFFFF
##2F6FB71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb7;
/* rgb */ color: rgb(47, 111, 183);
/* oklch */ color: oklch(53.7% 0.131 253.6);
Tailwind
colors: {
  custom: {
    50: '#7a97cd',
    500: '#2f6fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb7;
$custom-light: #7a97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb7",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 211.765,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.13057,
    "h": 253.6
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#2F6FB7
secondary
#C8A37A
accent
#9945E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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