#2F6CAD#2F6CAD

#2F6CAD is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.121 H 252.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F6CAD
RGBrgb(47, 108, 173)
HSLhsl(211, 57%, 43%)
HSVhsv(211, 73%, 68%)
CMYKcmyk(72.8%, 37.6%, 0%, 32.2%)
CIE-LABlab(44.72, 2.79, -40.38)
CIE-LCHlch(44.72, 40.47, 273.95°)
OKLaboklab(52.36% -0.0365 -0.1149)
OKLCHoklch(52.36% 0.121 252.4)
XYZxyz(14.0749, 14.3450, 41.5541)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CAD #AD702F
analogous
#2FABAD #2F6CAD #312FAD
triadic
#2F6CAD #AD2F6C #6CAD2F
tetradic
#2F6CAD #AD2FAB #AD702F #2FAD31
square
#2F6CAD #AD2FAB #AD702F #2FAD31
split-complementary
#2F6CAD #AD312F #ABAD2F
monochromatic
#15304D #224E7D #2F6CAD #4B8BCE #7BAADB

Accessibility & contrast

On white

5.43
#2F6CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F6CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CAD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CAD#FFFFFF#000000##FFFFFF
##2F6CAD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70B0
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6cad;
/* rgb */ color: rgb(47, 108, 173);
/* oklch */ color: oklch(52.4% 0.121 252.4);
Tailwind
colors: {
  custom: {
    50: '#7895c6',
    500: '#2f6cad',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cad;
$custom-light: #7895c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cad",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 173
  },
  "hsl": {
    "h": 210.952,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.12059,
    "h": 252.4
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#2F6CAD
secondary
#C49D74
accent
#9647E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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