#2F6FBF#2F6FBF

#2F6FBF is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.141 H 255.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F6FBF
RGBrgb(47, 111, 191)
HSLhsl(213, 61%, 47%)
HSVhsv(213, 75%, 75%)
CMYKcmyk(75.4%, 41.9%, 0%, 25.1%)
CIE-LABlab(46.62, 7.63, -47.82)
CIE-LCHlch(46.62, 48.42, 279.06°)
OKLaboklab(54.17% -0.035 -0.1367)
OKLCHoklch(54.17% 0.141 255.6)
XYZxyz(16.2572, 15.7329, 51.4601)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FBF #BF7F2F
analogous
#2FB7BF #2F6FBF #372FBF
triadic
#2F6FBF #BF2F6F #6FBF2F
tetradic
#2F6FBF #BF2FB7 #BF7F2F #2FBF37
square
#2F6FBF #BF2FB7 #BF7F2F #2FBF37
split-complementary
#2F6FBF #BF372F #B7BF2F
monochromatic
#17365D #23528E #2F6FBF #568FD5 #87AFE1

Accessibility & contrast

On white

5.06
#2F6FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F6FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FBF#FFFFFF#000000##FFFFFF
##2F6FBF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fbf;
/* rgb */ color: rgb(47, 111, 191);
/* oklch */ color: oklch(54.2% 0.141 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b97d3',
    500: '#2f6fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fbf;
$custom-light: #7b97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fbf",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 213.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.14114,
    "h": 255.6
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#2F6FBF
secondary
#CBA97F
accent
#9D44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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