#2F6FB8#2F6FB8

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

Color values

HEX#2F6FB8
RGBrgb(47, 111, 184)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(74.5%, 39.7%, 0%, 27.8%)
CIE-LABlab(46.22, 5.01, -44.41)
CIE-LCHlch(46.22, 44.69, 276.44°)
OKLaboklab(53.73% -0.0366 -0.1267)
OKLCHoklch(53.73% 0.132 253.9)
XYZxyz(15.5052, 15.4322, 47.4996)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB8 #B8782F
analogous
#2FB3B8 #2F6FB8 #342FB8
triadic
#2F6FB8 #B82F6F #6FB82F
tetradic
#2F6FB8 #B82FB3 #B8782F #2FB834
square
#2F6FB8 #B82FB3 #B8782F #2FB834
split-complementary
#2F6FB8 #B8342F #B3B82F
monochromatic
#163457 #235287 #2F6FB8 #528ED3 #82AEDF

Accessibility & contrast

On white

5.14
#2F6FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F6FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB8#FFFFFF#000000##FFFFFF
##2F6FB81.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BB
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb8;
/* rgb */ color: rgb(47, 111, 184);
/* oklch */ color: oklch(53.7% 0.132 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#2f6fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb8;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb8",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 211.971,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.13188,
    "h": 253.9
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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