#2F6FAF#2F6FAF

#2F6FAF is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.120 H 251.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6FAF
RGBrgb(47, 111, 175)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 73%, 69%)
CMYKcmyk(73.1%, 36.6%, 0%, 31.4%)
CIE-LABlab(45.73, 1.67, -39.96)
CIE-LCHlch(45.73, 39.99, 272.39°)
OKLaboklab(53.18% -0.0388 -0.1137)
OKLCHoklch(53.18% 0.12 251.1)
XYZxyz(14.5917, 15.0667, 42.6883)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FAF #AF6F2F
analogous
#2FAFAF #2F6FAF #2F2FAF
triadic
#2F6FAF #AF2F6F #6FAF2F
tetradic
#2F6FAF #AF2FAF #AF6F2F #2FAF2F
square
#2F6FAF #AF2FAF #AF6F2F #2FAF2F
split-complementary
#2F6FAF #AF2F2F #AFAF2F
monochromatic
#15324F #22507F #2F6FAF #4C8ECF #7CACDC

Accessibility & contrast

On white

5.23
#2F6FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F6FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FAF#FFFFFF#000000##FFFFFF
##2F6FAF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6faf;
/* rgb */ color: rgb(47, 111, 175);
/* oklch */ color: oklch(53.2% 0.120 251.1);
Tailwind
colors: {
  custom: {
    50: '#7897c7',
    500: '#2f6faf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6faf;
$custom-light: #7897c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6faf",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 210,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.12012,
    "h": 251.1
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#2F6FAF
secondary
#C49D75
accent
#9447E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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