#2F6BAD#2F6BAD

#2F6BAD is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.1% C 0.122 H 253.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6BAD
RGBrgb(47, 107, 173)
HSLhsl(211, 57%, 43%)
HSVhsv(211, 73%, 68%)
CMYKcmyk(72.8%, 38.2%, 0%, 32.2%)
CIE-LABlab(44.43, 3.41, -40.85)
CIE-LCHlch(44.43, 40.99, 274.77°)
OKLaboklab(52.13% -0.0355 -0.1163)
OKLCHoklch(52.13% 0.122 253)
XYZxyz(13.9700, 14.1353, 41.5192)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BAD #AD712F
analogous
#2FAAAD #2F6BAD #322FAD
triadic
#2F6BAD #AD2F6B #6BAD2F
tetradic
#2F6BAD #AD2FAA #AD712F #2FAD32
square
#2F6BAD #AD2FAA #AD712F #2FAD32
split-complementary
#2F6BAD #AD322F #AAAD2F
monochromatic
#152F4D #224D7D #2F6BAD #4B89CE #7BA9DB

Accessibility & contrast

On white

5.49
#2F6BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F6BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BAD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BAD#FFFFFF#000000##FFFFFF
##2F6BAD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6bad;
/* rgb */ color: rgb(47, 107, 173);
/* oklch */ color: oklch(52.1% 0.122 253.0);
Tailwind
colors: {
  custom: {
    50: '#7894c6',
    500: '#2f6bad',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bad;
$custom-light: #7894c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bad",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 211.429,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.12164,
    "h": 253
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#2F6BAD
secondary
#C49E74
accent
#9847E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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