#2F6CB3#2F6CB3

#2F6CB3 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.129 H 254.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB3
RGBrgb(47, 108, 179)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 74%, 70%)
CMYKcmyk(73.7%, 39.7%, 0%, 29.8%)
CIE-LABlab(45.06, 5.02, -43.35)
CIE-LCHlch(45.06, 43.64, 276.60°)
OKLaboklab(52.73% -0.035 -0.1237)
OKLCHoklch(52.73% 0.129 254.2)
XYZxyz(14.6685, 14.5825, 44.6807)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB3 #B3762F
analogous
#2FAEB3 #2F6CB3 #342FB3
triadic
#2F6CB3 #B32F6C #6CB32F
tetradic
#2F6CB3 #B32FAE #B3762F #2FB334
square
#2F6CB3 #B32FAE #B3762F #2FB334
split-complementary
#2F6CB3 #B3342F #AEB32F
monochromatic
#163252 #224F83 #2F6CB3 #4F8BD1 #7FABDD

Accessibility & contrast

On white

5.36
#2F6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CB3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB3#FFFFFF#000000##FFFFFF
##2F6CB31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6cb3;
/* rgb */ color: rgb(47, 108, 179);
/* oklch */ color: oklch(52.7% 0.129 254.2);
Tailwind
colors: {
  custom: {
    50: '#7995ca',
    500: '#2f6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb3;
$custom-light: #7995ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb3",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 212.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.12851,
    "h": 254.2
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#2F6CB3
secondary
#C6A278
accent
#9A46E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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