#2F6CB7#2F6CB7

#2F6CB7 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.134 H 255.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB7
RGBrgb(47, 108, 183)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(74.3%, 41%, 0%, 28.2%)
CIE-LABlab(45.29, 6.51, -45.32)
CIE-LCHlch(45.29, 45.78, 278.18°)
OKLaboklab(52.98% -0.0341 -0.1294)
OKLCHoklch(52.98% 0.134 255.3)
XYZxyz(15.0789, 14.7467, 46.8423)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB7 #B77A2F
analogous
#2FB0B7 #2F6CB7 #362FB7
triadic
#2F6CB7 #B72F6C #6CB72F
tetradic
#2F6CB7 #B72FB0 #B77A2F #2FB736
square
#2F6CB7 #B72FB0 #B77A2F #2FB736
split-complementary
#2F6CB7 #B7362F #B0B72F
monochromatic
#163356 #224F86 #2F6CB7 #518BD2 #82ABDF

Accessibility & contrast

On white

5.32
#2F6CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F6CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CB7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB7#FFFFFF#000000##FFFFFF
##2F6CB71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6cb7;
/* rgb */ color: rgb(47, 108, 183);
/* oklch */ color: oklch(53.0% 0.134 255.3);
Tailwind
colors: {
  custom: {
    50: '#7a95cd',
    500: '#2f6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb7;
$custom-light: #7a95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb7",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 213.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.13384,
    "h": 255.3
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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