#2F7ABA#2F7ABA

#2F7ABA is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.123 H 248.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7ABA
RGBrgb(47, 122, 186)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(74.7%, 34.4%, 0%, 27.1%)
CIE-LABlab(49.58, -0.99, -40.24)
CIE-LCHlch(49.58, 40.25, 268.59°)
OKLaboklab(56.39% -0.0463 -0.1143)
OKLCHoklch(56.39% 0.123 248)
XYZxyz(16.9914, 18.0666, 49.0366)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ABA #BA6F2F
analogous
#2FBAB4 #2F7ABA #2F34BA
triadic
#2F7ABA #BA2F7A #7ABA2F
tetradic
#2F7ABA #B42FBA #BA6F2F #34BA2F
square
#2F7ABA #B42FBA #BA6F2F #34BA2F
split-complementary
#2F7ABA #BA2F34 #BAB42F
monochromatic
#163A58 #235A89 #2F7ABA #5398D3 #84B5E0

Accessibility & contrast

On white

4.55
#2F7ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F7ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ABA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ABA#FFFFFF#000000##000000
##2F7ABA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7aba;
/* rgb */ color: rgb(47, 122, 186);
/* oklch */ color: oklch(56.4% 0.123 248.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0cf',
    500: '#2f7aba',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aba;
$custom-light: #7aa0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aba",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 207.626,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.12335,
    "h": 248
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#2F7ABA
secondary
#C99F7C
accent
#8E45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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