#2F7DB8#2F7DB8

#2F7DB8 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.0% C 0.118 H 245.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB8
RGBrgb(47, 125, 184)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 72%)
CMYKcmyk(74.5%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.37, -3.52, -37.84)
CIE-LCHlch(50.37, 38.00, 264.69°)
OKLaboklab(56.99% -0.0497 -0.1073)
OKLCHoklch(56.99% 0.118 245.1)
XYZxyz(17.1543, 18.7303, 48.0493)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB8 #B86A2F
analogous
#2FB8AE #2F7DB8 #2F39B8
triadic
#2F7DB8 #B82F7D #7DB82F
tetradic
#2F7DB8 #AE2FB8 #B86A2F #39B82F
square
#2F7DB8 #AE2FB8 #B86A2F #39B82F
split-complementary
#2F7DB8 #B82F39 #B8AE2F
monochromatic
#163B57 #235C87 #2F7DB8 #529BD3 #82B7DF

Accessibility & contrast

On white

4.42
#2F7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2F7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB8#FFFFFF#000000##000000
##2F7DB81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7db8;
/* rgb */ color: rgb(47, 125, 184);
/* oklch */ color: oklch(57.0% 0.118 245.1);
Tailwind
colors: {
  custom: {
    50: '#7aa2cd',
    500: '#2f7db8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db8;
$custom-light: #7aa2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db8",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 205.839,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.11823,
    "h": 245.1
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#2F7DB8
secondary
#C89C7B
accent
#8945E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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