#2F6BB2#2F6BB2

#2F6BB2 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.128 H 254.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F6BB2
RGBrgb(47, 107, 178)
HSLhsl(213, 58%, 44%)
HSVhsv(213, 74%, 70%)
CMYKcmyk(73.6%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.71, 5.27, -43.33)
CIE-LCHlch(44.71, 43.65, 276.94°)
OKLaboklab(52.44% -0.0343 -0.1236)
OKLCHoklch(52.44% 0.128 254.5)
XYZxyz(14.4629, 14.3325, 44.1151)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BB2 #B2762F
analogous
#2FADB2 #2F6BB2 #352FB2
triadic
#2F6BB2 #B22F6B #6BB22F
tetradic
#2F6BB2 #B22FAD #B2762F #2FB235
square
#2F6BB2 #B22FAD #B2762F #2FB235
split-complementary
#2F6BB2 #B2352F #ADB22F
monochromatic
#153151 #224E82 #2F6BB2 #4E8AD0 #7EAADD

Accessibility & contrast

On white

5.43
#2F6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BB2#FFFFFF#000000##FFFFFF
##2F6BB21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6bb2;
/* rgb */ color: rgb(47, 107, 178);
/* oklch */ color: oklch(52.4% 0.128 254.5);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#2f6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bb2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bb2",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 212.519,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.12828,
    "h": 254.5
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#2F6BB2
secondary
#C6A277
accent
#9A46E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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