#2F6FBD#2F6FBD

#2F6FBD is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.138 H 255.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F6FBD
RGBrgb(47, 111, 189)
HSLhsl(213, 60%, 46%)
HSVhsv(213, 75%, 74%)
CMYKcmyk(75.1%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.51, 6.88, -46.85)
CIE-LCHlch(46.51, 47.35, 278.35°)
OKLaboklab(54.05% -0.0354 -0.1339)
OKLCHoklch(54.05% 0.138 255.2)
XYZxyz(16.0386, 15.6455, 50.3088)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FBD #BD7D2F
analogous
#2FB6BD #2F6FBD #362FBD
triadic
#2F6FBD #BD2F6F #6FBD2F
tetradic
#2F6FBD #BD2FB6 #BD7D2F #2FBD36
square
#2F6FBD #BD2FB6 #BD7D2F #2FBD36
split-complementary
#2F6FBD #BD362F #B6BD2F
monochromatic
#17355B #23528C #2F6FBD #558ED5 #86AFE1

Accessibility & contrast

On white

5.09
#2F6FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F6FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FBD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FBD#FFFFFF#000000##FFFFFF
##2F6FBD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fbd;
/* rgb */ color: rgb(47, 111, 189);
/* oklch */ color: oklch(54.0% 0.138 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b97d1',
    500: '#2f6fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fbd;
$custom-light: #7b97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fbd",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 212.958,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.13849,
    "h": 255.2
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#2F6FBD
secondary
#CAA87E
accent
#9C44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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