#2F7BB5#2F7BB5

#2F7BB5 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.116 H 245.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7BB5
RGBrgb(47, 123, 181)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 71%)
CMYKcmyk(74%, 32%, 0%, 29%)
CIE-LABlab(49.62, -3.41, -37.28)
CIE-LCHlch(49.62, 37.44, 264.77°)
OKLaboklab(56.35% -0.0487 -0.1057)
OKLCHoklch(56.35% 0.116 245.3)
XYZxyz(16.5925, 18.1046, 46.3272)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB5 #B5692F
analogous
#2FB5AC #2F7BB5 #2F38B5
triadic
#2F7BB5 #B52F7B #7BB52F
tetradic
#2F7BB5 #AC2FB5 #B5692F #38B52F
square
#2F7BB5 #AC2FB5 #B5692F #38B52F
split-complementary
#2F7BB5 #B52F38 #B5AC2F
monochromatic
#163954 #225A84 #2F7BB5 #5099D1 #80B6DE

Accessibility & contrast

On white

4.54
#2F7BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F7BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB5#FFFFFF#000000##000000
##2F7BB51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#4E70B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb5;
/* rgb */ color: rgb(47, 123, 181);
/* oklch */ color: oklch(56.3% 0.116 245.3);
Tailwind
colors: {
  custom: {
    50: '#79a0cb',
    500: '#2f7bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb5;
$custom-light: #79a0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb5",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 205.97,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.11637,
    "h": 245.3
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#2F7BB5
secondary
#C79B79
accent
#8946E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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