#2F7EBD#2F7EBD

#2F7EBD is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.123 H 246.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F7EBD
RGBrgb(47, 126, 189)
HSLhsl(207, 60%, 46%)
HSVhsv(207, 75%, 74%)
CMYKcmyk(75.1%, 33.3%, 0%, 25.9%)
CIE-LABlab(50.92, -2.30, -39.85)
CIE-LCHlch(50.92, 39.91, 266.70°)
OKLaboklab(57.5% -0.0492 -0.1131)
OKLCHoklch(57.5% 0.123 246.5)
XYZxyz(17.8149, 19.1981, 50.9009)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EBD #BD6E2F
analogous
#2FBDB5 #2F7EBD #2F37BD
triadic
#2F7EBD #BD2F7E #7EBD2F
tetradic
#2F7EBD #B52FBD #BD6E2F #37BD2F
square
#2F7EBD #B52FBD #BD6E2F #37BD2F
split-complementary
#2F7EBD #BD2F37 #BDB52F
monochromatic
#173D5B #235D8C #2F7EBD #559CD5 #86B8E1

Accessibility & contrast

On white

4.34
#2F7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F7EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EBD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EBD#FFFFFF#000000##000000
##2F7EBD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7ebd;
/* rgb */ color: rgb(47, 126, 189);
/* oklch */ color: oklch(57.5% 0.123 246.5);
Tailwind
colors: {
  custom: {
    50: '#7ba3d1',
    500: '#2f7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ebd;
$custom-light: #7ba3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ebd",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 206.62,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.575,
    "c": 0.12336,
    "h": 246.5
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#2F7EBD
secondary
#CAA07E
accent
#8B44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #2F7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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