#2F6FB5#2F6FB5

#2F6FB5 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.128 H 253.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB5
RGBrgb(47, 111, 181)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 71%)
CMYKcmyk(74%, 38.7%, 0%, 29%)
CIE-LABlab(46.05, 3.89, -42.93)
CIE-LCHlch(46.05, 43.11, 275.18°)
OKLaboklab(53.55% -0.0373 -0.1224)
OKLCHoklch(53.55% 0.128 253)
XYZxyz(15.1941, 15.3077, 45.8610)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB5 #B5752F
analogous
#2FB2B5 #2F6FB5 #322FB5
triadic
#2F6FB5 #B52F6F #6FB52F
tetradic
#2F6FB5 #B52FB2 #B5752F #2FB532
square
#2F6FB5 #B52FB2 #B5752F #2FB532
split-complementary
#2F6FB5 #B5322F #B2B52F
monochromatic
#163354 #225184 #2F6FB5 #508ED1 #80ADDE

Accessibility & contrast

On white

5.17
#2F6FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F6FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB5#FFFFFF#000000##FFFFFF
##2F6FB51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#3A67B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb5;
/* rgb */ color: rgb(47, 111, 181);
/* oklch */ color: oklch(53.5% 0.128 253.0);
Tailwind
colors: {
  custom: {
    50: '#7997cb',
    500: '#2f6fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb5;
$custom-light: #7997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb5",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 211.343,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.12794,
    "h": 253
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#2F6FB5
secondary
#C7A279
accent
#9746E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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