#2F7BAE#2F7BAE

#2F7BAE is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.108 H 241.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7BAE
RGBrgb(47, 123, 174)
HSLhsl(204, 57%, 43%)
HSVhsv(204, 73%, 68%)
CMYKcmyk(73%, 29.3%, 0%, 31.8%)
CIE-LABlab(49.28, -5.93, -33.77)
CIE-LCHlch(49.28, 34.28, 260.03°)
OKLaboklab(55.97% -0.0509 -0.0954)
OKLCHoklch(55.97% 0.108 241.9)
XYZxyz(15.8923, 17.8245, 42.6391)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BAE #AE622F
analogous
#2FAEA1 #2F7BAE #2F3CAE
triadic
#2F7BAE #AE2F7B #7BAE2F
tetradic
#2F7BAE #A12FAE #AE622F #3CAE2F
square
#2F7BAE #A12FAE #AE622F #3CAE2F
split-complementary
#2F7BAE #AE2F3C #AEA12F
monochromatic
#15374E #22597E #2F7BAE #4C9ACF #7CB5DC

Accessibility & contrast

On white

4.60
#2F7BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F7BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7BAE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BAE#FFFFFF#000000##FFFFFF
##2F7BAE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB0
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7bae;
/* rgb */ color: rgb(47, 123, 174);
/* oklch */ color: oklch(56.0% 0.108 241.9);
Tailwind
colors: {
  custom: {
    50: '#78a1c6',
    500: '#2f7bae',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bae;
$custom-light: #78a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bae",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 174
  },
  "hsl": {
    "h": 204.094,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.10816,
    "h": 241.9
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#2F7BAE
secondary
#C49575
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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