#2F6DB3#2F6DB3

#2F6DB3 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.127 H 253.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB3
RGBrgb(47, 109, 179)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 74%, 70%)
CMYKcmyk(73.7%, 39.1%, 0%, 29.8%)
CIE-LABlab(45.35, 4.39, -42.88)
CIE-LCHlch(45.35, 43.11, 275.85°)
OKLaboklab(52.96% -0.0359 -0.1223)
OKLCHoklch(52.96% 0.127 253.6)
XYZxyz(14.7746, 14.7946, 44.7161)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB3 #B3752F
analogous
#2FAFB3 #2F6DB3 #332FB3
triadic
#2F6DB3 #B32F6D #6DB32F
tetradic
#2F6DB3 #B32FAF #B3752F #2FB333
square
#2F6DB3 #B32FAF #B3752F #2FB333
split-complementary
#2F6DB3 #B3332F #AFB32F
monochromatic
#163252 #224F83 #2F6DB3 #4F8CD1 #7FABDD

Accessibility & contrast

On white

5.30
#2F6DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F6DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB3#FFFFFF#000000##FFFFFF
##2F6DB31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6db3;
/* rgb */ color: rgb(47, 109, 179);
/* oklch */ color: oklch(53.0% 0.127 253.6);
Tailwind
colors: {
  custom: {
    50: '#7996ca',
    500: '#2f6db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db3;
$custom-light: #7996ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db3",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 211.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.12744,
    "h": 253.6
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#2F6DB3
secondary
#C6A178
accent
#9946E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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