#2F6EB5#2F6EB5

#2F6EB5 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.129 H 253.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6EB5
RGBrgb(47, 110, 181)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(74%, 39.2%, 0%, 29%)
CIE-LABlab(45.76, 4.52, -43.40)
CIE-LCHlch(45.76, 43.63, 275.94°)
OKLaboklab(53.32% -0.0364 -0.1238)
OKLCHoklch(53.32% 0.129 253.6)
XYZxyz(15.0856, 15.0907, 45.8248)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB5 #B5762F
analogous
#2FB1B5 #2F6EB5 #332FB5
triadic
#2F6EB5 #B52F6E #6EB52F
tetradic
#2F6EB5 #B52FB1 #B5762F #2FB533
square
#2F6EB5 #B52FB1 #B5762F #2FB533
split-complementary
#2F6EB5 #B5332F #B1B52F
monochromatic
#163354 #225084 #2F6EB5 #508DD1 #80ACDE

Accessibility & contrast

On white

5.23
#2F6EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F6EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EB5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EB5#FFFFFF#000000##FFFFFF
##2F6EB51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6eb5;
/* rgb */ color: rgb(47, 110, 181);
/* oklch */ color: oklch(53.3% 0.129 253.6);
Tailwind
colors: {
  custom: {
    50: '#7997cb',
    500: '#2f6eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb5;
$custom-light: #7997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb5",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 211.791,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.129,
    "h": 253.6
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#2F6EB5
secondary
#C7A279
accent
#9946E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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