#2F7ABB#2F7ABB

#2F7ABB is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.125 H 248.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7ABB
RGBrgb(47, 122, 187)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(74.9%, 34.8%, 0%, 26.7%)
CIE-LABlab(49.63, -0.63, -40.73)
CIE-LCHlch(49.63, 40.74, 269.12°)
OKLaboklab(56.45% -0.046 -0.1158)
OKLCHoklch(56.45% 0.125 248.3)
XYZxyz(17.0981, 18.1093, 49.5984)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ABB #BB702F
analogous
#2FBBB6 #2F7ABB #2F34BB
triadic
#2F7ABB #BB2F7A #7ABB2F
tetradic
#2F7ABB #B62FBB #BB702F #34BB2F
square
#2F7ABB #B62FBB #BB702F #34BB2F
split-complementary
#2F7ABB #BB2F34 #BBB62F
monochromatic
#163A59 #235A8A #2F7ABB #5398D4 #84B5E0

Accessibility & contrast

On white

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

On black

4.62
#2F7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ABB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ABB#FFFFFF#000000##000000
##2F7ABB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7abb;
/* rgb */ color: rgb(47, 122, 187);
/* oklch */ color: oklch(56.5% 0.125 248.3);
Tailwind
colors: {
  custom: {
    50: '#7aa0d0',
    500: '#2f7abb',
    950: '#000000',
  },
}
SCSS
$custom: #2f7abb;
$custom-light: #7aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7abb",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 207.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.12459,
    "h": 248.3
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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