#2F7EA5#2F7EA5

#2F7EA5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.097 H 233.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA5
RGBrgb(47, 126, 165)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.5%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.79, -10.85, -27.75)
CIE-LCHlch(49.79, 29.80, 248.64°)
OKLaboklab(56.23% -0.057 -0.078)
OKLCHoklch(56.23% 0.097 233.8)
XYZxyz(15.4220, 18.2409, 38.2981)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA5 #A5562F
analogous
#2FA591 #2F7EA5 #2F43A5
triadic
#2F7EA5 #A52F7E #7EA52F
tetradic
#2F7EA5 #912FA5 #A5562F #43A52F
square
#2F7EA5 #912FA5 #A5562F #43A52F
split-complementary
#2F7EA5 #A52F43 #A5912F
monochromatic
#143546 #215A75 #2F7EA5 #479FCB #76B8D8

Accessibility & contrast

On white

4.52
#2F7EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F7EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA5#FFFFFF#000000##000000
##2F7EA51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA7
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea5;
/* rgb */ color: rgb(47, 126, 165);
/* oklch */ color: oklch(56.2% 0.097 233.8);
Tailwind
colors: {
  custom: {
    50: '#77a3c0',
    500: '#2f7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea5;
$custom-light: #77a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea5",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 199.831,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56233,
    "c": 0.09662,
    "h": 233.8
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#2F7EA5
secondary
#C08A70
accent
#7A49DF
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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