#2F6CAA#2F6CAA

#2F6CAA is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.117 H 251.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F6CAA
RGBrgb(47, 108, 170)
HSLhsl(210, 57%, 43%)
HSVhsv(210, 72%, 67%)
CMYKcmyk(72.4%, 36.5%, 0%, 33.3%)
CIE-LABlab(44.56, 1.68, -38.87)
CIE-LCHlch(44.56, 38.91, 272.47°)
OKLaboklab(52.18% -0.0373 -0.1105)
OKLCHoklch(52.18% 0.117 251.4)
XYZxyz(13.7878, 14.2302, 40.0425)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CAA #AA6D2F
analogous
#2FA9AA #2F6CAA #302FAA
triadic
#2F6CAA #AA2F6C #6CAA2F
tetradic
#2F6CAA #AA2FA9 #AA6D2F #2FAA30
square
#2F6CAA #AA2FA9 #AA6D2F #2FAA30
split-complementary
#2F6CAA #AA302F #A9AA2F
monochromatic
#142F4A #224E7A #2F6CAA #498BCD #79A9DA

Accessibility & contrast

On white

5.46
#2F6CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2F6CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CAA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CAA#FFFFFF#000000##FFFFFF
##2F6CAA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6caa;
/* rgb */ color: rgb(47, 108, 170);
/* oklch */ color: oklch(52.2% 0.117 251.4);
Tailwind
colors: {
  custom: {
    50: '#7795c3',
    500: '#2f6caa',
    950: '#000000',
  },
}
SCSS
$custom: #2f6caa;
$custom-light: #7795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6caa",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 170
  },
  "hsl": {
    "h": 210.244,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.11666,
    "h": 251.4
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#2F6CAA
secondary
#C29B72
accent
#9548E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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