#2F6BB5#2F6BB5

#2F6BB5 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.132 H 255.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F6BB5
RGBrgb(47, 107, 181)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 71%)
CMYKcmyk(74%, 40.9%, 0%, 29%)
CIE-LABlab(44.88, 6.39, -44.80)
CIE-LCHlch(44.88, 45.26, 278.12°)
OKLaboklab(52.63% -0.0336 -0.1279)
OKLCHoklch(52.63% 0.132 255.3)
XYZxyz(14.7674, 14.4543, 45.7188)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BB5 #B5792F
analogous
#2FAEB5 #2F6BB5 #362FB5
triadic
#2F6BB5 #B52F6B #6BB52F
tetradic
#2F6BB5 #B52FAE #B5792F #2FB536
square
#2F6BB5 #B52FAE #B5792F #2FB536
split-complementary
#2F6BB5 #B5362F #AEB52F
monochromatic
#163254 #224E84 #2F6BB5 #508AD1 #80AADE

Accessibility & contrast

On white

5.40
#2F6BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F6BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BB5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BB5#FFFFFF#000000##FFFFFF
##2F6BB51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#3264B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6bb5;
/* rgb */ color: rgb(47, 107, 181);
/* oklch */ color: oklch(52.6% 0.132 255.3);
Tailwind
colors: {
  custom: {
    50: '#7994cb',
    500: '#2f6bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bb5;
$custom-light: #7994cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bb5",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 213.134,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.13228,
    "h": 255.3
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#2F6BB5
secondary
#C7A479
accent
#9C46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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