#2F6EAC#2F6EAC

#2F6EAC is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.117 H 250.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6EAC
RGBrgb(47, 110, 172)
HSLhsl(210, 57%, 43%)
HSVhsv(210, 73%, 67%)
CMYKcmyk(72.7%, 36%, 0%, 32.5%)
CIE-LABlab(45.27, 1.18, -38.93)
CIE-LCHlch(45.27, 38.95, 271.73°)
OKLaboklab(52.77% -0.0387 -0.1107)
OKLCHoklch(52.77% 0.117 250.7)
XYZxyz(14.1918, 14.7332, 41.1176)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EAC #AC6D2F
analogous
#2FACAB #2F6EAC #2F2FAC
triadic
#2F6EAC #AC2F6E #6EAC2F
tetradic
#2F6EAC #AB2FAC #AC6D2F #2FAC2F
square
#2F6EAC #AB2FAC #AC6D2F #2FAC2F
split-complementary
#2F6EAC #AC2F2F #ACAB2F
monochromatic
#15314C #224F7C #2F6EAC #4B8DCE #7BABDB

Accessibility & contrast

On white

5.32
#2F6EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6EAC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EAC#FFFFFF#000000##FFFFFF
##2F6EAC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6eac;
/* rgb */ color: rgb(47, 110, 172);
/* oklch */ color: oklch(52.8% 0.117 250.7);
Tailwind
colors: {
  custom: {
    50: '#7797c5',
    500: '#2f6eac',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eac;
$custom-light: #7797c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eac",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 172
  },
  "hsl": {
    "h": 209.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.11724,
    "h": 250.7
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#2F6EAC
secondary
#C39B74
accent
#9347E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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