#2F6CB2#2F6CB2

#2F6CB2 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.127 H 253.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB2
RGBrgb(47, 108, 178)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 74%, 70%)
CMYKcmyk(73.6%, 39.3%, 0%, 30.2%)
CIE-LABlab(45.00, 4.65, -42.86)
CIE-LCHlch(45.00, 43.11, 276.19°)
OKLaboklab(52.67% -0.0352 -0.1222)
OKLCHoklch(52.67% 0.127 253.9)
XYZxyz(14.5678, 14.5422, 44.1500)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB2 #B2752F
analogous
#2FAEB2 #2F6CB2 #342FB2
triadic
#2F6CB2 #B22F6C #6CB22F
tetradic
#2F6CB2 #B22FAE #B2752F #2FB234
square
#2F6CB2 #B22FAE #B2752F #2FB234
split-complementary
#2F6CB2 #B2342F #AEB22F
monochromatic
#153151 #224F82 #2F6CB2 #4E8BD0 #7EAADD

Accessibility & contrast

On white

5.37
#2F6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F6CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CB2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB2#FFFFFF#000000##FFFFFF
##2F6CB21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6cb2;
/* rgb */ color: rgb(47, 108, 178);
/* oklch */ color: oklch(52.7% 0.127 253.9);
Tailwind
colors: {
  custom: {
    50: '#7995c9',
    500: '#2f6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb2;
$custom-light: #7995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb2",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 212.061,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.12719,
    "h": 253.9
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#2F6CB2
secondary
#C6A177
accent
#9946E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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