#2F6AAF#2F6AAF

#2F6AAF is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.125 H 254.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F6AAF
RGBrgb(47, 106, 175)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(73.1%, 39.4%, 0%, 31.4%)
CIE-LABlab(44.24, 4.78, -42.31)
CIE-LCHlch(44.24, 42.58, 276.45°)
OKLaboklab(52.02% -0.0341 -0.1206)
OKLCHoklch(52.02% 0.125 254.2)
XYZxyz(14.0613, 14.0060, 42.5115)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AAF #AF742F
analogous
#2FAAAF #2F6AAF #342FAF
triadic
#2F6AAF #AF2F6A #6AAF2F
tetradic
#2F6AAF #AF2FAA #AF742F #2FAF34
square
#2F6AAF #AF2FAA #AF742F #2FAF34
split-complementary
#2F6AAF #AF342F #AAAF2F
monochromatic
#15304F #224D7F #2F6AAF #4C88CF #7CA8DC

Accessibility & contrast

On white

5.52
#2F6AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2F6AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AAF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AAF#FFFFFF#000000##FFFFFF
##2F6AAF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6aaf;
/* rgb */ color: rgb(47, 106, 175);
/* oklch */ color: oklch(52.0% 0.125 254.2);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#2f6aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aaf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aaf",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 212.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.12537,
    "h": 254.2
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#2F6AAF
secondary
#C4A075
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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