#2F6FB1#2F6FB1

#2F6FB1 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.123 H 251.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB1
RGBrgb(47, 111, 177)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 73%, 69%)
CMYKcmyk(73.4%, 37.3%, 0%, 30.6%)
CIE-LABlab(45.83, 2.41, -40.95)
CIE-LCHlch(45.83, 41.02, 273.37°)
OKLaboklab(53.3% -0.0383 -0.1166)
OKLCHoklch(53.3% 0.123 251.8)
XYZxyz(14.7896, 15.1459, 43.7304)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB1 #B1712F
analogous
#2FB0B1 #2F6FB1 #302FB1
triadic
#2F6FB1 #B12F6F #6FB12F
tetradic
#2F6FB1 #B12FB0 #B1712F #2FB130
square
#2F6FB1 #B12FB0 #B1712F #2FB130
split-complementary
#2F6FB1 #B1302F #B0B12F
monochromatic
#153250 #225181 #2F6FB1 #4D8ED0 #7EACDD

Accessibility & contrast

On white

5.21
#2F6FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F6FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB1#FFFFFF#000000##FFFFFF
##2F6FB11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb1;
/* rgb */ color: rgb(47, 111, 177);
/* oklch */ color: oklch(53.3% 0.123 251.8);
Tailwind
colors: {
  custom: {
    50: '#7897c8',
    500: '#2f6fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb1;
$custom-light: #7897c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb1",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 210.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.12271,
    "h": 251.8
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2F6FB1
secondary
#C59F76
accent
#9547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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