#2F6BAE#2F6BAE

#2F6BAE is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.123 H 253.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F6BAE
RGBrgb(47, 107, 174)
HSLhsl(212, 57%, 43%)
HSVhsv(212, 73%, 68%)
CMYKcmyk(73%, 38.5%, 0%, 31.8%)
CIE-LABlab(44.48, 3.78, -41.34)
CIE-LCHlch(44.48, 41.52, 275.23°)
OKLaboklab(52.19% -0.0353 -0.1178)
OKLCHoklch(52.19% 0.123 253.3)
XYZxyz(14.0671, 14.1742, 42.0307)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BAE #AE722F
analogous
#2FAAAE #2F6BAE #332FAE
triadic
#2F6BAE #AE2F6B #6BAE2F
tetradic
#2F6BAE #AE2FAA #AE722F #2FAE33
square
#2F6BAE #AE2FAA #AE722F #2FAE33
split-complementary
#2F6BAE #AE332F #AAAE2F
monochromatic
#15304E #224D7E #2F6BAE #4C89CF #7CA9DC

Accessibility & contrast

On white

5.48
#2F6BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2F6BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BAE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BAE#FFFFFF#000000##FFFFFF
##2F6BAE1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6bae;
/* rgb */ color: rgb(47, 107, 174);
/* oklch */ color: oklch(52.2% 0.123 253.3);
Tailwind
colors: {
  custom: {
    50: '#7894c6',
    500: '#2f6bae',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bae;
$custom-light: #7894c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bae",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 211.654,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.12296,
    "h": 253.3
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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