#2F7BB6#2F7BB6

#2F7BB6 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.118 H 245.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7BB6
RGBrgb(47, 123, 182)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 71%)
CMYKcmyk(74.2%, 32.4%, 0%, 28.6%)
CIE-LABlab(49.67, -3.05, -37.78)
CIE-LCHlch(49.67, 37.91, 265.39°)
OKLaboklab(56.4% -0.0484 -0.1071)
OKLCHoklch(56.4% 0.118 245.7)
XYZxyz(16.6955, 18.1457, 46.8695)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB6 #B66A2F
analogous
#2FB6AD #2F7BB6 #2F38B6
triadic
#2F7BB6 #B62F7B #7BB62F
tetradic
#2F7BB6 #AD2FB6 #B66A2F #38B62F
square
#2F7BB6 #AD2FB6 #B66A2F #38B62F
split-complementary
#2F7BB6 #B62F38 #B6AD2F
monochromatic
#163955 #225A85 #2F7BB6 #5099D2 #81B6DE

Accessibility & contrast

On white

4.54
#2F7BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2F7BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB6#FFFFFF#000000##000000
##2F7BB61.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB9
Deuteranopia (green-blind)
#4D70B5
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb6;
/* rgb */ color: rgb(47, 123, 182);
/* oklch */ color: oklch(56.4% 0.118 245.7);
Tailwind
colors: {
  custom: {
    50: '#7aa0cc',
    500: '#2f7bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb6;
$custom-light: #7aa0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb6",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 182
  },
  "hsl": {
    "h": 206.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.11757,
    "h": 245.7
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#2F7BB6
secondary
#C79B79
accent
#8A46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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