#2F6AAB#2F6AAB

#2F6AAB is a mid, vivid cyan. Relative luminance 0.139; OKLCH L 51.8% C 0.120 H 253.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F6AAB
RGBrgb(47, 106, 171)
HSLhsl(211, 57%, 43%)
HSVhsv(211, 73%, 67%)
CMYKcmyk(72.5%, 38%, 0%, 32.9%)
CIE-LABlab(44.02, 3.29, -40.32)
CIE-LCHlch(44.02, 40.46, 274.67°)
OKLaboklab(51.78% -0.035 -0.1148)
OKLCHoklch(51.78% 0.12 253)
XYZxyz(13.6743, 13.8512, 40.4731)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AAB #AB702F
analogous
#2FA8AB #2F6AAB #322FAB
triadic
#2F6AAB #AB2F6A #6AAB2F
tetradic
#2F6AAB #AB2FA8 #AB702F #2FAB32
square
#2F6AAB #AB2FA8 #AB702F #2FAB32
split-complementary
#2F6AAB #AB322F #A8AB2F
monochromatic
#152E4B #224C7B #2F6AAB #4A88CD #7AA8DA

Accessibility & contrast

On white

5.57
#2F6AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F6AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AAB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AAB#FFFFFF#000000##FFFFFF
##2F6AAB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6aab;
/* rgb */ color: rgb(47, 106, 171);
/* oklch */ color: oklch(51.8% 0.120 253.0);
Tailwind
colors: {
  custom: {
    50: '#7794c4',
    500: '#2f6aab',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aab;
$custom-light: #7794c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aab",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 211.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.12004,
    "h": 253
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#2F6AAB
secondary
#C39D73
accent
#9848E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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