#2F7ABD#2F7ABD

#2F7ABD is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.127 H 249.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7ABD
RGBrgb(47, 122, 189)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 74%)
CMYKcmyk(75.1%, 35.4%, 0%, 25.9%)
CIE-LABlab(49.73, 0.11, -41.72)
CIE-LCHlch(49.73, 41.72, 270.14°)
OKLaboklab(56.57% -0.0455 -0.1187)
OKLCHoklch(56.57% 0.127 249)
XYZxyz(17.3136, 18.1955, 50.7338)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ABD #BD722F
analogous
#2FBDB9 #2F7ABD #2F33BD
triadic
#2F7ABD #BD2F7A #7ABD2F
tetradic
#2F7ABD #B92FBD #BD722F #33BD2F
square
#2F7ABD #B92FBD #BD722F #33BD2F
split-complementary
#2F7ABD #BD2F33 #BDB92F
monochromatic
#173B5B #235A8C #2F7ABD #5598D5 #86B6E1

Accessibility & contrast

On white

4.53
#2F7ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2F7ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ABD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ABD#FFFFFF#000000##000000
##2F7ABD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7abd;
/* rgb */ color: rgb(47, 122, 189);
/* oklch */ color: oklch(56.6% 0.127 249.0);
Tailwind
colors: {
  custom: {
    50: '#7ba0d1',
    500: '#2f7abd',
    950: '#000000',
  },
}
SCSS
$custom: #2f7abd;
$custom-light: #7ba0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7abd",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 208.31,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.12707,
    "h": 249
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#2F7ABD
secondary
#CAA27E
accent
#8F44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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