#2F6FBC#2F6FBC

#2F6FBC is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.137 H 254.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F6FBC
RGBrgb(47, 111, 188)
HSLhsl(213, 60%, 46%)
HSVhsv(213, 75%, 74%)
CMYKcmyk(75%, 41%, 0%, 26.3%)
CIE-LABlab(46.45, 6.50, -46.36)
CIE-LCHlch(46.45, 46.82, 277.99°)
OKLaboklab(53.98% -0.0356 -0.1325)
OKLCHoklch(53.98% 0.137 254.9)
XYZxyz(15.9305, 15.6022, 49.7392)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FBC #BC7C2F
analogous
#2FB5BC #2F6FBC #352FBC
triadic
#2F6FBC #BC2F6F #6FBC2F
tetradic
#2F6FBC #BC2FB5 #BC7C2F #2FBC35
square
#2F6FBC #BC2FB5 #BC7C2F #2FBC35
split-complementary
#2F6FBC #BC352F #B5BC2F
monochromatic
#17355A #23528B #2F6FBC #548ED4 #85AEE0

Accessibility & contrast

On white

5.10
#2F6FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2F6FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FBC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FBC#FFFFFF#000000##FFFFFF
##2F6FBC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fbc;
/* rgb */ color: rgb(47, 111, 188);
/* oklch */ color: oklch(54.0% 0.137 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b97d0',
    500: '#2f6fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fbc;
$custom-light: #7b97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fbc",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 212.766,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.13716,
    "h": 254.9
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#2F6FBC
secondary
#CAA77D
accent
#9B45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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