#2F6FB9#2F6FB9

#2F6FB9 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.133 H 254.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F6FB9
RGBrgb(47, 111, 185)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(74.6%, 40%, 0%, 27.5%)
CIE-LABlab(46.28, 5.38, -44.90)
CIE-LCHlch(46.28, 45.22, 276.84°)
OKLaboklab(53.79% -0.0363 -0.1281)
OKLCHoklch(53.79% 0.133 254.2)
XYZxyz(15.6104, 15.4742, 48.0536)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FB9 #B9792F
analogous
#2FB4B9 #2F6FB9 #342FB9
triadic
#2F6FB9 #B92F6F #6FB92F
tetradic
#2F6FB9 #B92FB4 #B9792F #2FB934
square
#2F6FB9 #B92FB4 #B9792F #2FB934
split-complementary
#2F6FB9 #B9342F #B4B92F
monochromatic
#163457 #235288 #2F6FB9 #528ED3 #83AEDF

Accessibility & contrast

On white

5.13
#2F6FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F6FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FB9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FB9#FFFFFF#000000##FFFFFF
##2F6FB91.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BC
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fb9;
/* rgb */ color: rgb(47, 111, 185);
/* oklch */ color: oklch(53.8% 0.133 254.2);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#2f6fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fb9;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fb9",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 185
  },
  "hsl": {
    "h": 212.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.1332,
    "h": 254.2
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#2F6FB9
secondary
#C9A57B
accent
#9A45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2F6FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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