#2F6BB6#2F6BB6

#2F6BB6 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.134 H 255.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F6BB6
RGBrgb(47, 107, 182)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 71%)
CMYKcmyk(74.2%, 41.2%, 0%, 28.6%)
CIE-LABlab(44.94, 6.77, -45.29)
CIE-LCHlch(44.94, 45.80, 278.50°)
OKLaboklab(52.69% -0.0334 -0.1294)
OKLCHoklch(52.69% 0.134 255.5)
XYZxyz(14.8704, 14.4955, 46.2611)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BB6 #B67A2F
analogous
#2FAFB6 #2F6BB6 #362FB6
triadic
#2F6BB6 #B62F6B #6BB62F
tetradic
#2F6BB6 #B62FAF #B67A2F #2FB636
square
#2F6BB6 #B62FAF #B67A2F #2FB636
split-complementary
#2F6BB6 #B6362F #AFB62F
monochromatic
#163255 #224E85 #2F6BB6 #508AD2 #81ABDE

Accessibility & contrast

On white

5.39
#2F6BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F6BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BB6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BB6#FFFFFF#000000##FFFFFF
##2F6BB61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6bb6;
/* rgb */ color: rgb(47, 107, 182);
/* oklch */ color: oklch(52.7% 0.134 255.5);
Tailwind
colors: {
  custom: {
    50: '#7994cc',
    500: '#2f6bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bb6;
$custom-light: #7994cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bb6",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 213.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.13361,
    "h": 255.5
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#2F6BB6
secondary
#C7A579
accent
#9D46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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