#2F6FB2#2F6FB2

#2F6FB2 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.124 H 252.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB2
RGBrgb(47, 111, 178)
HSLhsl(211, 58%, 44%)
HSVhsv(211, 74%, 70%)
CMYKcmyk(73.6%, 37.6%, 0%, 30.2%)
CIE-LABlab(45.89, 2.78, -41.45)
CIE-LCHlch(45.89, 41.54, 273.84°)
OKLaboklab(53.36% -0.038 -0.118)
OKLCHoklch(53.36% 0.124 252.1)
XYZxyz(14.8896, 15.1859, 44.2573)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB2 #B2722F
analogous
#2FB1B2 #2F6FB2 #312FB2
triadic
#2F6FB2 #B22F6F #6FB22F
tetradic
#2F6FB2 #B22FB1 #B2722F #2FB231
square
#2F6FB2 #B22FB1 #B2722F #2FB231
split-complementary
#2F6FB2 #B2312F #B1B22F
monochromatic
#153351 #225182 #2F6FB2 #4E8ED0 #7EADDD

Accessibility & contrast

On white

5.20
#2F6FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F6FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB2#FFFFFF#000000##FFFFFF
##2F6FB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb2;
/* rgb */ color: rgb(47, 111, 178);
/* oklch */ color: oklch(53.4% 0.124 252.1);
Tailwind
colors: {
  custom: {
    50: '#7997c9',
    500: '#2f6fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb2;
$custom-light: #7997c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb2",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 210.687,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.12402,
    "h": 252.1
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#2F6FB2
secondary
#C69F77
accent
#9646E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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