#2F7DAF#2F7DAF

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

Color values

HEX#2F7DAF
RGBrgb(47, 125, 175)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 73%, 69%)
CMYKcmyk(73.1%, 28.6%, 0%, 31.4%)
CIE-LABlab(49.94, -6.75, -33.32)
CIE-LCHlch(49.94, 34.00, 258.55°)
OKLaboklab(56.5% -0.0525 -0.0941)
OKLCHoklch(56.5% 0.108 240.8)
XYZxyz(16.2408, 18.3649, 43.2380)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DAF #AF612F
analogous
#2FAFA1 #2F7DAF #2F3DAF
triadic
#2F7DAF #AF2F7D #7DAF2F
tetradic
#2F7DAF #A12FAF #AF612F #3DAF2F
square
#2F7DAF #A12FAF #AF612F #3DAF2F
split-complementary
#2F7DAF #AF2F3D #AFA12F
monochromatic
#15384F #225B7F #2F7DAF #4C9CCF #7CB7DC

Accessibility & contrast

On white

4.49
#2F7DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7DAF#FFFFFF#000000##000000
##2F7DAF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB1
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7daf;
/* rgb */ color: rgb(47, 125, 175);
/* oklch */ color: oklch(56.5% 0.108 240.8);
Tailwind
colors: {
  custom: {
    50: '#78a2c7',
    500: '#2f7daf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7daf;
$custom-light: #78a2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7daf",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 203.438,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.565,
    "c": 0.10781,
    "h": 240.8
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#2F7DAF
secondary
#C49475
accent
#8347E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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