#2F7AB8#2F7AB8

#2F7AB8 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.121 H 247.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7AB8
RGBrgb(47, 122, 184)
HSLhsl(207, 59%, 45%)
HSVhsv(207, 74%, 72%)
CMYKcmyk(74.5%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.47, -1.72, -39.25)
CIE-LCHlch(49.47, 39.29, 267.49°)
OKLaboklab(56.28% -0.0469 -0.1114)
OKLCHoklch(56.28% 0.121 247.2)
XYZxyz(16.7803, 17.9822, 47.9246)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB8 #B86D2F
analogous
#2FB8B1 #2F7AB8 #2F36B8
triadic
#2F7AB8 #B82F7A #7AB82F
tetradic
#2F7AB8 #B12FB8 #B86D2F #36B82F
square
#2F7AB8 #B12FB8 #B86D2F #36B82F
split-complementary
#2F7AB8 #B82F36 #B8B12F
monochromatic
#163957 #235A87 #2F7AB8 #5298D3 #82B5DF

Accessibility & contrast

On white

4.57
#2F7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7AB8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB8#FFFFFF#000000##000000
##2F7AB81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ab8;
/* rgb */ color: rgb(47, 122, 184);
/* oklch */ color: oklch(56.3% 0.121 247.2);
Tailwind
colors: {
  custom: {
    50: '#7aa0cd',
    500: '#2f7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab8;
$custom-light: #7aa0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab8",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 207.153,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.12089,
    "h": 247.2
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#2F7AB8
secondary
#C89E7B
accent
#8C45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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