#2F6FBE#2F6FBE

#2F6FBE is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.140 H 255.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F6FBE
RGBrgb(47, 111, 190)
HSLhsl(213, 60%, 46%)
HSVhsv(213, 75%, 75%)
CMYKcmyk(75.3%, 41.6%, 0%, 25.5%)
CIE-LABlab(46.56, 7.25, -47.33)
CIE-LCHlch(46.56, 47.89, 278.71°)
OKLaboklab(54.11% -0.0352 -0.1353)
OKLCHoklch(54.11% 0.14 255.4)
XYZxyz(16.1476, 15.6891, 50.8825)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FBE #BE7E2F
analogous
#2FB7BE #2F6FBE #372FBE
triadic
#2F6FBE #BE2F6F #6FBE2F
tetradic
#2F6FBE #BE2FB7 #BE7E2F #2FBE37
square
#2F6FBE #BE2FB7 #BE7E2F #2FBE37
split-complementary
#2F6FBE #BE372F #B7BE2F
monochromatic
#17365C #23528D #2F6FBE #558ED5 #86AFE1

Accessibility & contrast

On white

5.07
#2F6FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F6FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FBE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FBE#FFFFFF#000000##FFFFFF
##2F6FBE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975C1
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fbe;
/* rgb */ color: rgb(47, 111, 190);
/* oklch */ color: oklch(54.1% 0.140 255.4);
Tailwind
colors: {
  custom: {
    50: '#7b97d2',
    500: '#2f6fbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fbe;
$custom-light: #7b97d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fbe",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 213.147,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.13981,
    "h": 255.4
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#2F6FBE
secondary
#CBA87E
accent
#9C44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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