#2F6AB1#2F6AB1

#2F6AB1 is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.1% C 0.128 H 254.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2F6AB1
RGBrgb(47, 106, 177)
HSLhsl(213, 58%, 44%)
HSVhsv(213, 73%, 69%)
CMYKcmyk(73.4%, 40.1%, 0%, 30.6%)
CIE-LABlab(44.35, 5.53, -43.30)
CIE-LCHlch(44.35, 43.65, 277.28°)
OKLaboklab(52.15% -0.0336 -0.1235)
OKLCHoklch(52.15% 0.128 254.8)
XYZxyz(14.2592, 14.0851, 43.5537)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AB1 #B1762F
analogous
#2FABB1 #2F6AB1 #352FB1
triadic
#2F6AB1 #B12F6A #6AB12F
tetradic
#2F6AB1 #B12FAB #B1762F #2FB135
square
#2F6AB1 #B12FAB #B1762F #2FB135
split-complementary
#2F6AB1 #B1352F #ABB12F
monochromatic
#153050 #224D81 #2F6AB1 #4D89D0 #7EA9DD

Accessibility & contrast

On white

5.50
#2F6AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2F6AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AB1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AB1#FFFFFF#000000##FFFFFF
##2F6AB11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB4
Deuteranopia (green-blind)
#3463B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6ab1;
/* rgb */ color: rgb(47, 106, 177);
/* oklch */ color: oklch(52.1% 0.128 254.8);
Tailwind
colors: {
  custom: {
    50: '#7894c9',
    500: '#2f6ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ab1;
$custom-light: #7894c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ab1",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 212.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.12803,
    "h": 254.8
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#2F6AB1
secondary
#C5A276
accent
#9B47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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