#2F7EAA#2F7EAA

#2F7EAA is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.102 H 237.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7EAA
RGBrgb(47, 126, 170)
HSLhsl(201, 57%, 43%)
HSVhsv(201, 72%, 67%)
CMYKcmyk(72.4%, 25.9%, 0%, 33.3%)
CIE-LABlab(50.01, -9.10, -30.31)
CIE-LCHlch(50.01, 31.65, 253.28°)
OKLaboklab(56.48% -0.0552 -0.0854)
OKLCHoklch(56.48% 0.102 237.1)
XYZxyz(15.8860, 18.4265, 40.7419)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EAA #AA5B2F
analogous
#2FAA98 #2F7EAA #2F41AA
triadic
#2F7EAA #AA2F7E #7EAA2F
tetradic
#2F7EAA #982FAA #AA5B2F #41AA2F
square
#2F7EAA #982FAA #AA5B2F #41AA2F
split-complementary
#2F7EAA #AA2F41 #AA982F
monochromatic
#14374A #225A7A #2F7EAA #499ECD #79B7DA

Accessibility & contrast

On white

4.48
#2F7EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F7EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EAA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EAA#FFFFFF#000000##000000
##2F7EAA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#5872A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7eaa;
/* rgb */ color: rgb(47, 126, 170);
/* oklch */ color: oklch(56.5% 0.102 237.1);
Tailwind
colors: {
  custom: {
    50: '#78a3c3',
    500: '#2f7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eaa;
$custom-light: #78a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eaa",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 201.463,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.1017,
    "h": 237.1
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#2F7EAA
secondary
#C28F72
accent
#7E48E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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