#2F6CB4#2F6CB4

#2F6CB4 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.130 H 254.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB4
RGBrgb(47, 108, 180)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(73.9%, 40%, 0%, 29.4%)
CIE-LABlab(45.11, 5.39, -43.84)
CIE-LCHlch(45.11, 44.17, 277.01°)
OKLaboklab(52.8% -0.0348 -0.1251)
OKLCHoklch(52.8% 0.13 254.5)
XYZxyz(14.7700, 14.6231, 45.2153)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB4 #B4772F
analogous
#2FAFB4 #2F6CB4 #352FB4
triadic
#2F6CB4 #B42F6C #6CB42F
tetradic
#2F6CB4 #B42FAF #B4772F #2FB435
square
#2F6CB4 #B42FAF #B4772F #2FB435
split-complementary
#2F6CB4 #B4352F #AFB42F
monochromatic
#163253 #224F83 #2F6CB4 #4F8BD1 #80ABDE

Accessibility & contrast

On white

5.35
#2F6CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6CB4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB4#FFFFFF#000000##FFFFFF
##2F6CB41.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3565B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6cb4;
/* rgb */ color: rgb(47, 108, 180);
/* oklch */ color: oklch(52.8% 0.130 254.5);
Tailwind
colors: {
  custom: {
    50: '#7995cb',
    500: '#2f6cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb4;
$custom-light: #7995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb4",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 212.481,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.12985,
    "h": 254.5
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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