#2F6EAB#2F6EAB

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

Color values

HEX#2F6EAB
RGBrgb(47, 110, 171)
HSLhsl(210, 57%, 43%)
HSVhsv(210, 73%, 67%)
CMYKcmyk(72.5%, 35.7%, 0%, 32.9%)
CIE-LABlab(45.21, 0.81, -38.43)
CIE-LCHlch(45.21, 38.44, 271.21°)
OKLaboklab(52.71% -0.0389 -0.1092)
OKLCHoklch(52.71% 0.116 250.4)
XYZxyz(14.0961, 14.6949, 40.6137)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EAB #AB6C2F
analogous
#2FABAA #2F6EAB #2F30AB
triadic
#2F6EAB #AB2F6E #6EAB2F
tetradic
#2F6EAB #AA2FAB #AB6C2F #30AB2F
square
#2F6EAB #AA2FAB #AB6C2F #30AB2F
split-complementary
#2F6EAB #AB2F30 #ABAA2F
monochromatic
#15304B #224F7B #2F6EAB #4A8DCD #7AABDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6EAB#FFFFFF#000000##FFFFFF
##2F6EAB1.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)
#5271AE
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6eab;
/* rgb */ color: rgb(47, 110, 171);
/* oklch */ color: oklch(52.7% 0.116 250.4);
Tailwind
colors: {
  custom: {
    50: '#7797c4',
    500: '#2f6eab',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eab;
$custom-light: #7797c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eab",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 171
  },
  "hsl": {
    "h": 209.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.11595,
    "h": 250.4
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#2F6EAB
secondary
#C39A73
accent
#9348E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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