#2F6B9C#2F6B9C

#2F6B9C is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.1% C 0.100 H 246.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F6B9C
RGBrgb(47, 107, 156)
HSLhsl(207, 54%, 40%)
HSVhsv(207, 70%, 61%)
CMYKcmyk(69.9%, 31.4%, 0%, 38.8%)
CIE-LABlab(43.53, -2.83, -32.24)
CIE-LCHlch(43.53, 32.36, 264.98°)
OKLaboklab(51.14% -0.0403 -0.0912)
OKLCHoklch(51.14% 0.1 246.2)
XYZxyz(12.4285, 13.5187, 33.4004)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B9C #9C602F
analogous
#2F9C96 #2F6B9C #2F359C
triadic
#2F6B9C #9C2F6B #6B9C2F
tetradic
#2F6B9C #962F9C #9C602F #359C2F
square
#2F6B9C #962F9C #9C602F #359C2F
split-complementary
#2F6B9C #9C2F35 #9C962F
monochromatic
#132A3E #214B6D #2F6B9C #428BC6 #71A8D4

Accessibility & contrast

On white

5.67
#2F6B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F6B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B9C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B9C#FFFFFF#000000##FFFFFF
##2F6B9C1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556D9E
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f6b9c;
/* rgb */ color: rgb(47, 107, 156);
/* oklch */ color: oklch(51.1% 0.100 246.2);
Tailwind
colors: {
  custom: {
    50: '#7595b9',
    500: '#2f6b9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b9c;
$custom-light: #7595b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b9c",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 156
  },
  "hsl": {
    "h": 206.972,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.0997,
    "h": 246.2
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#2F6B9C
secondary
#BC8F6B
accent
#8D4BDD
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F6B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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