#2F6BAB#2F6BAB

#2F6BAB is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.0% C 0.119 H 252.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F6BAB
RGBrgb(47, 107, 171)
HSLhsl(211, 57%, 43%)
HSVhsv(211, 73%, 67%)
CMYKcmyk(72.5%, 37.4%, 0%, 32.9%)
CIE-LABlab(44.32, 2.67, -39.85)
CIE-LCHlch(44.32, 39.94, 273.83°)
OKLaboklab(52.01% -0.036 -0.1134)
OKLCHoklch(52.01% 0.119 252.4)
XYZxyz(13.7779, 14.0585, 40.5076)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BAB #AB6F2F
analogous
#2FA9AB #2F6BAB #312FAB
triadic
#2F6BAB #AB2F6B #6BAB2F
tetradic
#2F6BAB #AB2FA9 #AB6F2F #2FAB31
square
#2F6BAB #AB2FA9 #AB6F2F #2FAB31
split-complementary
#2F6BAB #AB312F #A9AB2F
monochromatic
#152F4B #224D7B #2F6BAB #4A89CD #7AA9DA

Accessibility & contrast

On white

5.51
#2F6BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F6BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BAB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BAB#FFFFFF#000000##FFFFFF
##2F6BAB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#3B64AA
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6bab;
/* rgb */ color: rgb(47, 107, 171);
/* oklch */ color: oklch(52.0% 0.119 252.4);
Tailwind
colors: {
  custom: {
    50: '#7795c4',
    500: '#2f6bab',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bab;
$custom-light: #7795c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bab",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 171
  },
  "hsl": {
    "h": 210.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.11899,
    "h": 252.4
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#2F6BAB
secondary
#C39C73
accent
#9648E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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