#2F6DB7#2F6DB7

#2F6DB7 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.133 H 254.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB7
RGBrgb(47, 109, 183)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(74.3%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.58, 5.89, -44.85)
CIE-LCHlch(45.58, 45.24, 277.48°)
OKLaboklab(53.21% -0.035 -0.128)
OKLCHoklch(53.21% 0.133 254.7)
XYZxyz(15.1850, 14.9588, 46.8776)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB7 #B7792F
analogous
#2FB1B7 #2F6DB7 #352FB7
triadic
#2F6DB7 #B72F6D #6DB72F
tetradic
#2F6DB7 #B72FB1 #B7792F #2FB735
square
#2F6DB7 #B72FB1 #B7792F #2FB735
split-complementary
#2F6DB7 #B7352F #B1B72F
monochromatic
#163356 #225086 #2F6DB7 #518CD2 #82ACDF

Accessibility & contrast

On white

5.26
#2F6DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F6DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB7#FFFFFF#000000##FFFFFF
##2F6DB71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6db7;
/* rgb */ color: rgb(47, 109, 183);
/* oklch */ color: oklch(53.2% 0.133 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a96cd',
    500: '#2f6db7',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db7;
$custom-light: #7a96cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db7",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 212.647,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.13274,
    "h": 254.7
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#2F6DB7
secondary
#C8A47A
accent
#9B45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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