#2F6CBA#2F6CBA

#2F6CBA is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.138 H 256.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F6CBA
RGBrgb(47, 108, 186)
HSLhsl(214, 60%, 46%)
HSVhsv(214, 75%, 73%)
CMYKcmyk(74.7%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.46, 7.64, -46.78)
CIE-LCHlch(45.46, 47.40, 279.27°)
OKLaboklab(53.18% -0.0334 -0.1337)
OKLCHoklch(53.18% 0.138 256)
XYZxyz(15.3945, 14.8729, 48.5043)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CBA #BA7D2F
analogous
#2FB1BA #2F6CBA #372FBA
triadic
#2F6CBA #BA2F6C #6CBA2F
tetradic
#2F6CBA #BA2FB1 #BA7D2F #2FBA37
square
#2F6CBA #BA2FB1 #BA7D2F #2FBA37
split-complementary
#2F6CBA #BA372F #B1BA2F
monochromatic
#163358 #235089 #2F6CBA #538BD3 #84ACE0

Accessibility & contrast

On white

5.28
#2F6CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F6CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CBA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CBA#FFFFFF#000000##FFFFFF
##2F6CBA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#2E66B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6cba;
/* rgb */ color: rgb(47, 108, 186);
/* oklch */ color: oklch(53.2% 0.138 256.0);
Tailwind
colors: {
  custom: {
    50: '#7a95cf',
    500: '#2f6cba',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cba;
$custom-light: #7a95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cba",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 213.669,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.13784,
    "h": 256
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#2F6CBA
secondary
#C9A77C
accent
#9E45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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