#2F6DB1#2F6DB1

#2F6DB1 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.125 H 253.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB1
RGBrgb(47, 109, 177)
HSLhsl(211, 58%, 44%)
HSVhsv(211, 73%, 69%)
CMYKcmyk(73.4%, 38.4%, 0%, 30.6%)
CIE-LABlab(45.24, 3.65, -41.89)
CIE-LCHlch(45.24, 42.05, 274.98°)
OKLaboklab(52.84% -0.0364 -0.1194)
OKLCHoklch(52.84% 0.125 253)
XYZxyz(14.5738, 14.7143, 43.6585)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB1 #B1732F
analogous
#2FAEB1 #2F6DB1 #322FB1
triadic
#2F6DB1 #B12F6D #6DB12F
tetradic
#2F6DB1 #B12FAE #B1732F #2FB132
square
#2F6DB1 #B12FAE #B1732F #2FB132
split-complementary
#2F6DB1 #B1322F #AEB12F
monochromatic
#153150 #224F81 #2F6DB1 #4D8CD0 #7EABDD

Accessibility & contrast

On white

5.33
#2F6DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F6DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB1#FFFFFF#000000##FFFFFF
##2F6DB11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B4
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6db1;
/* rgb */ color: rgb(47, 109, 177);
/* oklch */ color: oklch(52.8% 0.125 253.0);
Tailwind
colors: {
  custom: {
    50: '#7896c9',
    500: '#2f6db1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db1;
$custom-light: #7896c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db1",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 211.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.1248,
    "h": 253
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#2F6DB1
secondary
#C5A076
accent
#9747E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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