#2F6BB7#2F6BB7

#2F6BB7 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.8% C 0.135 H 255.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6BB7
RGBrgb(47, 107, 183)
HSLhsl(214, 59%, 45%)
HSVhsv(214, 74%, 72%)
CMYKcmyk(74.3%, 41.5%, 0%, 28.2%)
CIE-LABlab(44.99, 7.14, -45.78)
CIE-LCHlch(44.99, 46.34, 278.87°)
OKLaboklab(52.76% -0.0331 -0.1308)
OKLCHoklch(52.76% 0.135 255.8)
XYZxyz(14.9741, 14.5369, 46.8073)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BB7 #B77B2F
analogous
#2FAFB7 #2F6BB7 #372FB7
triadic
#2F6BB7 #B72F6B #6BB72F
tetradic
#2F6BB7 #B72FAF #B77B2F #2FB737
square
#2F6BB7 #B72FAF #B77B2F #2FB737
split-complementary
#2F6BB7 #B7372F #AFB72F
monochromatic
#163256 #224F86 #2F6BB7 #518AD2 #82ABDF

Accessibility & contrast

On white

5.37
#2F6BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F6BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BB7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BB7#FFFFFF#000000##FFFFFF
##2F6BB71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6bb7;
/* rgb */ color: rgb(47, 107, 183);
/* oklch */ color: oklch(52.8% 0.135 255.8);
Tailwind
colors: {
  custom: {
    50: '#7a94cd',
    500: '#2f6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bb7;
$custom-light: #7a94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bb7",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 213.529,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.13495,
    "h": 255.8
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#2F6BB7
secondary
#C8A57A
accent
#9D45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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