#2F6FA5#2F6FA5

#2F6FA5 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.107 H 247.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F6FA5
RGBrgb(47, 111, 165)
HSLhsl(207, 56%, 42%)
HSVhsv(207, 72%, 65%)
CMYKcmyk(71.5%, 32.7%, 0%, 35.3%)
CIE-LABlab(45.20, -2.00, -34.92)
CIE-LCHlch(45.20, 34.98, 266.72°)
OKLaboklab(52.6% -0.0417 -0.099)
OKLCHoklch(52.6% 0.107 247.2)
XYZxyz(13.6457, 14.6883, 37.7060)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FA5 #A5652F
analogous
#2FA5A0 #2F6FA5 #2F34A5
triadic
#2F6FA5 #A52F6F #6FA52F
tetradic
#2F6FA5 #A02FA5 #A5652F #34A52F
square
#2F6FA5 #A02FA5 #A5652F #34A52F
split-complementary
#2F6FA5 #A52F34 #A5A02F
monochromatic
#142F46 #214F75 #2F6FA5 #478ECB #76ABD8

Accessibility & contrast

On white

5.33
#2F6FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F6FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FA5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FA5#FFFFFF#000000##FFFFFF
##2F6FA51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6fa5;
/* rgb */ color: rgb(47, 111, 165);
/* oklch */ color: oklch(52.6% 0.107 247.2);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2f6fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fa5;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fa5",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 207.458,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.10737,
    "h": 247.2
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#2F6FA5
secondary
#C09470
accent
#8E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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