#2F6AAA#2F6AAA

#2F6AAA is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.119 H 252.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F6AAA
RGBrgb(47, 106, 170)
HSLhsl(211, 57%, 43%)
HSVhsv(211, 72%, 67%)
CMYKcmyk(72.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(43.96, 2.92, -39.82)
CIE-LCHlch(43.96, 39.93, 274.20°)
OKLaboklab(51.72% -0.0353 -0.1133)
OKLCHoklch(51.72% 0.119 252.7)
XYZxyz(13.5793, 13.8132, 39.9730)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AAA #AA6F2F
analogous
#2FA7AA #2F6AAA #322FAA
triadic
#2F6AAA #AA2F6A #6AAA2F
tetradic
#2F6AAA #AA2FA7 #AA6F2F #2FAA32
square
#2F6AAA #AA2FA7 #AA6F2F #2FAA32
split-complementary
#2F6AAA #AA322F #A7AA2F
monochromatic
#142E4A #224C7A #2F6AAA #4988CD #79A8DA

Accessibility & contrast

On white

5.58
#2F6AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2F6AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AAA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AAA#FFFFFF#000000##FFFFFF
##2F6AAA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#3A63A9
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f6aaa;
/* rgb */ color: rgb(47, 106, 170);
/* oklch */ color: oklch(51.7% 0.119 252.7);
Tailwind
colors: {
  custom: {
    50: '#7794c3',
    500: '#2f6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aaa;
$custom-light: #7794c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aaa",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 211.22,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.11872,
    "h": 252.7
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#2F6AAA
secondary
#C29C72
accent
#9748E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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