#2F6BAF#2F6BAF

#2F6BAF is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.124 H 253.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F6BAF
RGBrgb(47, 107, 175)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(73.1%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.54, 4.16, -41.84)
CIE-LCHlch(44.54, 42.05, 275.67°)
OKLaboklab(52.25% -0.035 -0.1192)
OKLCHoklch(52.25% 0.124 253.6)
XYZxyz(14.1650, 14.2133, 42.5460)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BAF #AF732F
analogous
#2FABAF #2F6BAF #332FAF
triadic
#2F6BAF #AF2F6B #6BAF2F
tetradic
#2F6BAF #AF2FAB #AF732F #2FAF33
square
#2F6BAF #AF2FAB #AF732F #2FAF33
split-complementary
#2F6BAF #AF332F #ABAF2F
monochromatic
#15304F #224E7F #2F6BAF #4C8ACF #7CA9DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6BAF#FFFFFF#000000##FFFFFF
##2F6BAF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6baf;
/* rgb */ color: rgb(47, 107, 175);
/* oklch */ color: oklch(52.3% 0.124 253.6);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#2f6baf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6baf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6baf",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 211.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.12428,
    "h": 253.6
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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