#2F6EAA#2F6EAA

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

Color values

HEX#2F6EAA
RGBrgb(47, 110, 170)
HSLhsl(209, 57%, 43%)
HSVhsv(209, 72%, 67%)
CMYKcmyk(72.4%, 35.3%, 0%, 33.3%)
CIE-LABlab(45.16, 0.44, -37.93)
CIE-LCHlch(45.16, 37.93, 270.67°)
OKLaboklab(52.65% -0.0392 -0.1077)
OKLCHoklch(52.65% 0.115 250)
XYZxyz(14.0012, 14.6569, 40.1136)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EAA #AA6B2F
analogous
#2FAAA8 #2F6EAA #2F31AA
triadic
#2F6EAA #AA2F6E #6EAA2F
tetradic
#2F6EAA #A82FAA #AA6B2F #31AA2F
square
#2F6EAA #A82FAA #AA6B2F #31AA2F
split-complementary
#2F6EAA #AA2F31 #AAA82F
monochromatic
#14304A #224F7A #2F6EAA #498DCD #79ABDA

Accessibility & contrast

On white

5.34
#2F6EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F6EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EAA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EAA#FFFFFF#000000##FFFFFF
##2F6EAA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6eaa;
/* rgb */ color: rgb(47, 110, 170);
/* oklch */ color: oklch(52.7% 0.115 250.0);
Tailwind
colors: {
  custom: {
    50: '#7797c3',
    500: '#2f6eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eaa;
$custom-light: #7797c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eaa",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 209.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.11466,
    "h": 250
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#2F6EAA
secondary
#C29972
accent
#9248E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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