#2F6EB2#2F6EB2

#2F6EB2 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.1% C 0.125 H 252.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6EB2
RGBrgb(47, 110, 178)
HSLhsl(211, 58%, 44%)
HSVhsv(211, 74%, 70%)
CMYKcmyk(73.6%, 38.2%, 0%, 30.2%)
CIE-LABlab(45.59, 3.40, -41.92)
CIE-LCHlch(45.59, 42.06, 274.64°)
OKLaboklab(53.13% -0.0371 -0.1194)
OKLCHoklch(53.13% 0.125 252.7)
XYZxyz(14.7811, 14.9689, 44.2211)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB2 #B2732F
analogous
#2FB0B2 #2F6EB2 #322FB2
triadic
#2F6EB2 #B22F6E #6EB22F
tetradic
#2F6EB2 #B22FB0 #B2732F #2FB232
square
#2F6EB2 #B22FB0 #B2732F #2FB232
split-complementary
#2F6EB2 #B2322F #B0B22F
monochromatic
#153251 #225082 #2F6EB2 #4E8DD0 #7EACDD

Accessibility & contrast

On white

5.26
#2F6EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F6EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EB2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EB2#FFFFFF#000000##FFFFFF
##2F6EB21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3B66B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6eb2;
/* rgb */ color: rgb(47, 110, 178);
/* oklch */ color: oklch(53.1% 0.125 252.7);
Tailwind
colors: {
  custom: {
    50: '#7997c9',
    500: '#2f6eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb2;
$custom-light: #7997c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb2",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 211.145,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.12506,
    "h": 252.7
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#2F6EB2
secondary
#C6A077
accent
#9746E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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