#2F7CAF#2F7CAF

#2F7CAF is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.109 H 241.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7CAF
RGBrgb(47, 124, 175)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 73%, 69%)
CMYKcmyk(73.1%, 29.1%, 0%, 31.4%)
CIE-LABlab(49.63, -6.16, -33.80)
CIE-LCHlch(49.63, 34.35, 259.66°)
OKLaboklab(56.26% -0.0515 -0.0955)
OKLCHoklch(56.26% 0.109 241.6)
XYZxyz(16.1148, 18.1130, 43.1960)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CAF #AF622F
analogous
#2FAFA2 #2F7CAF #2F3CAF
triadic
#2F7CAF #AF2F7C #7CAF2F
tetradic
#2F7CAF #A22FAF #AF622F #3CAF2F
square
#2F7CAF #A22FAF #AF622F #3CAF2F
split-complementary
#2F7CAF #AF2F3C #AFA22F
monochromatic
#15384F #225A7F #2F7CAF #4C9BCF #7CB6DC

Accessibility & contrast

On white

4.54
#2F7CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F7CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CAF#FFFFFF#000000##000000
##2F7CAF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5371AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7caf;
/* rgb */ color: rgb(47, 124, 175);
/* oklch */ color: oklch(56.3% 0.109 241.6);
Tailwind
colors: {
  custom: {
    50: '#78a1c7',
    500: '#2f7caf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7caf;
$custom-light: #78a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7caf",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 203.906,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.10855,
    "h": 241.6
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#2F7CAF
secondary
#C49575
accent
#8447E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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