#2F6FB4#2F6FB4

#2F6FB4 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.127 H 252.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB4
RGBrgb(47, 111, 180)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 71%)
CMYKcmyk(73.9%, 38.3%, 0%, 29.4%)
CIE-LABlab(46.00, 3.52, -42.44)
CIE-LCHlch(46.00, 42.58, 274.74°)
OKLaboklab(53.48% -0.0375 -0.1209)
OKLCHoklch(53.48% 0.127 252.8)
XYZxyz(15.0919, 15.2668, 45.3226)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB4 #B4742F
analogous
#2FB2B4 #2F6FB4 #322FB4
triadic
#2F6FB4 #B42F6F #6FB42F
tetradic
#2F6FB4 #B42FB2 #B4742F #2FB432
square
#2F6FB4 #B42FB2 #B4742F #2FB432
split-complementary
#2F6FB4 #B4322F #B2B42F
monochromatic
#163353 #225183 #2F6FB4 #4F8ED1 #80ADDE

Accessibility & contrast

On white

5.18
#2F6FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F6FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB4#FFFFFF#000000##FFFFFF
##2F6FB41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3B67B3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6fb4;
/* rgb */ color: rgb(47, 111, 180);
/* oklch */ color: oklch(53.5% 0.127 252.8);
Tailwind
colors: {
  custom: {
    50: '#7997cb',
    500: '#2f6fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb4;
$custom-light: #7997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb4",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 180
  },
  "hsl": {
    "h": 211.128,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.12664,
    "h": 252.8
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#2F6FB4
secondary
#C7A178
accent
#9746E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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