#2F6DB5#2F6DB5

#2F6DB5 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.130 H 254.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB5
RGBrgb(47, 109, 181)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(74%, 39.8%, 0%, 29%)
CIE-LABlab(45.46, 5.14, -43.87)
CIE-LCHlch(45.46, 44.17, 276.68°)
OKLaboklab(53.09% -0.0354 -0.1252)
OKLCHoklch(53.09% 0.13 254.2)
XYZxyz(14.9783, 14.8761, 45.7891)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB5 #B5772F
analogous
#2FB0B5 #2F6DB5 #342FB5
triadic
#2F6DB5 #B52F6D #6DB52F
tetradic
#2F6DB5 #B52FB0 #B5772F #2FB534
square
#2F6DB5 #B52FB0 #B5772F #2FB534
split-complementary
#2F6DB5 #B5342F #B0B52F
monochromatic
#163254 #225084 #2F6DB5 #508CD1 #80ACDE

Accessibility & contrast

On white

5.28
#2F6DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F6DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB5#FFFFFF#000000##FFFFFF
##2F6DB51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6db5;
/* rgb */ color: rgb(47, 109, 181);
/* oklch */ color: oklch(53.1% 0.130 254.2);
Tailwind
colors: {
  custom: {
    50: '#7996cb',
    500: '#2f6db5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db5;
$custom-light: #7996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db5",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 212.239,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.13008,
    "h": 254.2
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#2F6DB5
secondary
#C7A379
accent
#9A46E2
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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