#2F6EB7#2F6EB7

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

Color values

HEX#2F6EB7
RGBrgb(47, 110, 183)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(74.3%, 39.9%, 0%, 28.2%)
CIE-LABlab(45.87, 5.26, -44.38)
CIE-LCHlch(45.87, 44.69, 276.76°)
OKLaboklab(53.44% -0.0359 -0.1267)
OKLCHoklch(53.44% 0.132 254.2)
XYZxyz(15.2923, 15.1734, 46.9134)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB7 #B7782F
analogous
#2FB2B7 #2F6EB7 #342FB7
triadic
#2F6EB7 #B72F6E #6EB72F
tetradic
#2F6EB7 #B72FB2 #B7782F #2FB734
square
#2F6EB7 #B72FB2 #B7782F #2FB734
split-complementary
#2F6EB7 #B7342F #B2B72F
monochromatic
#163356 #225186 #2F6EB7 #518DD2 #82ADDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6EB7#FFFFFF#000000##FFFFFF
##2F6EB71.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73BA
Deuteranopia (green-blind)
#3667B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6eb7;
/* rgb */ color: rgb(47, 110, 183);
/* oklch */ color: oklch(53.4% 0.132 254.2);
Tailwind
colors: {
  custom: {
    50: '#7a97cd',
    500: '#2f6eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb7;
$custom-light: #7a97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb7",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 212.206,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.13165,
    "h": 254.2
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#2F6EB7
secondary
#C8A47A
accent
#9A45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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