#2F6DB2#2F6DB2

#2F6DB2 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 52.9% C 0.126 H 253.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB2
RGBrgb(47, 109, 178)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 74%, 70%)
CMYKcmyk(73.6%, 38.8%, 0%, 30.2%)
CIE-LABlab(45.30, 4.02, -42.39)
CIE-LCHlch(45.30, 42.58, 275.42°)
OKLaboklab(52.9% -0.0362 -0.1208)
OKLCHoklch(52.9% 0.126 253.3)
XYZxyz(14.6738, 14.7543, 44.1854)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB2 #B2742F
analogous
#2FAFB2 #2F6DB2 #332FB2
triadic
#2F6DB2 #B22F6D #6DB22F
tetradic
#2F6DB2 #B22FAF #B2742F #2FB233
square
#2F6DB2 #B22FAF #B2742F #2FB233
split-complementary
#2F6DB2 #B2332F #AFB22F
monochromatic
#153251 #224F82 #2F6DB2 #4E8CD0 #7EABDD

Accessibility & contrast

On white

5.31
#2F6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB2#FFFFFF#000000##FFFFFF
##2F6DB21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6db2;
/* rgb */ color: rgb(47, 109, 178);
/* oklch */ color: oklch(52.9% 0.126 253.3);
Tailwind
colors: {
  custom: {
    50: '#7996c9',
    500: '#2f6db2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db2;
$custom-light: #7996c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db2",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 211.603,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.529,
    "c": 0.12612,
    "h": 253.3
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#2F6DB2
secondary
#C6A177
accent
#9846E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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