#2F6CBD#2F6CBD

#2F6CBD is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.4% C 0.142 H 256.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2F6CBD
RGBrgb(47, 108, 189)
HSLhsl(214, 60%, 46%)
HSVhsv(214, 75%, 74%)
CMYKcmyk(75.1%, 42.9%, 0%, 25.9%)
CIE-LABlab(45.64, 8.76, -48.24)
CIE-LCHlch(45.64, 49.03, 280.30°)
OKLaboklab(53.37% -0.0328 -0.138)
OKLCHoklch(53.37% 0.142 256.6)
XYZxyz(15.7168, 15.0018, 50.2016)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CBD #BD802F
analogous
#2FB3BD #2F6CBD #392FBD
triadic
#2F6CBD #BD2F6C #6CBD2F
tetradic
#2F6CBD #BD2FB3 #BD802F #2FBD39
square
#2F6CBD #BD2FB3 #BD802F #2FBD39
split-complementary
#2F6CBD #BD392F #B3BD2F
monochromatic
#17345B #23508C #2F6CBD #558CD5 #86ADE1

Accessibility & contrast

On white

5.25
#2F6CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F6CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CBD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CBD#FFFFFF#000000##FFFFFF
##2F6CBD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6cbd;
/* rgb */ color: rgb(47, 108, 189);
/* oklch */ color: oklch(53.4% 0.142 256.6);
Tailwind
colors: {
  custom: {
    50: '#7b95d1',
    500: '#2f6cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cbd;
$custom-light: #7b95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cbd",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 214.225,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.14185,
    "h": 256.6
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#2F6CBD
secondary
#CAA97E
accent
#9F44E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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