#2F6BB1#2F6BB1

#2F6BB1 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.127 H 254.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F6BB1
RGBrgb(47, 107, 177)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(73.4%, 39.5%, 0%, 30.6%)
CIE-LABlab(44.65, 4.90, -42.83)
CIE-LCHlch(44.65, 43.11, 276.53°)
OKLaboklab(52.38% -0.0345 -0.1222)
OKLCHoklch(52.38% 0.127 254.2)
XYZxyz(14.3629, 14.2925, 43.5882)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BB1 #B1752F
analogous
#2FACB1 #2F6BB1 #342FB1
triadic
#2F6BB1 #B12F6B #6BB12F
tetradic
#2F6BB1 #B12FAC #B1752F #2FB134
square
#2F6BB1 #B12FAC #B1752F #2FB134
split-complementary
#2F6BB1 #B1342F #ACB12F
monochromatic
#153150 #224E81 #2F6BB1 #4D8AD0 #7EAADD

Accessibility & contrast

On white

5.44
#2F6BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F6BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BB1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BB1#FFFFFF#000000##FFFFFF
##2F6BB11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6bb1;
/* rgb */ color: rgb(47, 107, 177);
/* oklch */ color: oklch(52.4% 0.127 254.2);
Tailwind
colors: {
  custom: {
    50: '#7894c9',
    500: '#2f6bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bb1;
$custom-light: #7894c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bb1",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 212.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.12695,
    "h": 254.2
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#2F6BB1
secondary
#C5A176
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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