#2F7DAE#2F7DAE

#2F7DAE is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.107 H 240.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7DAE
RGBrgb(47, 125, 174)
HSLhsl(203, 57%, 43%)
HSVhsv(203, 73%, 68%)
CMYKcmyk(73%, 28.2%, 0%, 31.8%)
CIE-LABlab(49.89, -7.11, -32.82)
CIE-LCHlch(49.89, 33.58, 257.78°)
OKLaboklab(56.45% -0.0529 -0.0927)
OKLCHoklch(56.45% 0.107 240.3)
XYZxyz(16.1429, 18.3257, 42.7226)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DAE #AE602F
analogous
#2FAE9F #2F7DAE #2F3DAE
triadic
#2F7DAE #AE2F7D #7DAE2F
tetradic
#2F7DAE #9F2FAE #AE602F #3DAE2F
square
#2F7DAE #9F2FAE #AE602F #3DAE2F
split-complementary
#2F7DAE #AE2F3D #AE9F2F
monochromatic
#15384E #225A7E #2F7DAE #4C9CCF #7CB7DC

Accessibility & contrast

On white

4.50
#2F7DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F7DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DAE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DAE#FFFFFF#000000##000000
##2F7DAE1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667DB0
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7dae;
/* rgb */ color: rgb(47, 125, 174);
/* oklch */ color: oklch(56.4% 0.107 240.3);
Tailwind
colors: {
  custom: {
    50: '#78a2c6',
    500: '#2f7dae',
    950: '#000000',
  },
}
SCSS
$custom: #2f7dae;
$custom-light: #78a2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7dae",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 174
  },
  "hsl": {
    "h": 203.15,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.10669,
    "h": 240.3
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#2F7DAE
secondary
#C49375
accent
#8247E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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