#2F7ED0#2F7ED0

#2F7ED0 is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.147 H 252.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F7ED0
RGBrgb(47, 126, 208)
HSLhsl(211, 63%, 50%)
HSVhsv(211, 77%, 82%)
CMYKcmyk(77.4%, 39.4%, 0%, 18.4%)
CIE-LABlab(51.92, 4.68, -49.09)
CIE-LCHlch(51.92, 49.31, 275.45°)
OKLaboklab(58.62% -0.0442 -0.1402)
OKLCHoklch(58.62% 0.147 252.5)
XYZxyz(20.0140, 20.0777, 62.4829)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ED0 #D0812F
analogous
#2FCED0 #2F7ED0 #312FD0
triadic
#2F7ED0 #D02F7E #7ED02F
tetradic
#2F7ED0 #D02FCE #D0812F #2FD031
square
#2F7ED0 #D02FCE #D0812F #2FD031
split-complementary
#2F7ED0 #D0312F #CED02F
monochromatic
#18426C #24609E #2F7ED0 #619DDB #93BCE7

Accessibility & contrast

On white

4.19
#2F7ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F7ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ED0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ED0#FFFFFF#000000##000000
##2F7ED01.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D3
Deuteranopia (green-blind)
#3D75CE
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f7ed0;
/* rgb */ color: rgb(47, 126, 208);
/* oklch */ color: oklch(58.6% 0.147 252.5);
Tailwind
colors: {
  custom: {
    50: '#7fa2df',
    500: '#2f7ed0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ed0;
$custom-light: #7fa2df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ed0",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 208
  },
  "hsl": {
    "h": 210.559,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.147,
    "h": 252.5
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#2F7ED0
secondary
#D1AE89
accent
#9542E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #2F7ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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