#2F6DB4#2F6DB4

#2F6DB4 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.129 H 253.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB4
RGBrgb(47, 109, 180)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(73.9%, 39.4%, 0%, 29.4%)
CIE-LABlab(45.41, 4.77, -43.38)
CIE-LCHlch(45.41, 43.64, 276.27°)
OKLaboklab(53.02% -0.0357 -0.1237)
OKLCHoklch(53.02% 0.129 253.9)
XYZxyz(14.8761, 14.8352, 45.2506)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB4 #B4762F
analogous
#2FB0B4 #2F6DB4 #342FB4
triadic
#2F6DB4 #B42F6D #6DB42F
tetradic
#2F6DB4 #B42FB0 #B4762F #2FB434
square
#2F6DB4 #B42FB0 #B4762F #2FB434
split-complementary
#2F6DB4 #B4342F #B0B42F
monochromatic
#163253 #225083 #2F6DB4 #4F8CD1 #80ACDE

Accessibility & contrast

On white

5.29
#2F6DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F6DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB4#FFFFFF#000000##FFFFFF
##2F6DB41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6db4;
/* rgb */ color: rgb(47, 109, 180);
/* oklch */ color: oklch(53.0% 0.129 253.9);
Tailwind
colors: {
  custom: {
    50: '#7996cb',
    500: '#2f6db4',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db4;
$custom-light: #7996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db4",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 212.03,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.12876,
    "h": 253.9
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#2F6DB4
secondary
#C7A278
accent
#9946E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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