#2F6B8A#2F6B8A

#2F6B8A is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.2% C 0.079 H 234.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F6B8A
RGBrgb(47, 107, 138)
HSLhsl(200, 49%, 36%)
HSVhsv(200, 66%, 54%)
CMYKcmyk(65.9%, 22.5%, 0%, 45.9%)
CIE-LABlab(42.69, -9.21, -22.82)
CIE-LCHlch(42.69, 24.61, 248.02°)
OKLaboklab(50.2% -0.0465 -0.064)
OKLCHoklch(50.2% 0.079 234)
XYZxyz(11.0157, 12.9536, 25.9596)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B8A #8A4E2F
analogous
#2F8A7C #2F6B8A #2F3E8A
triadic
#2F6B8A #8A2F6B #6B8A2F
tetradic
#2F6B8A #7C2F8A #8A4E2F #3E8A2F
square
#2F6B8A #7C2F8A #8A4E2F #3E8A2F
split-complementary
#2F6B8A #8A2F3E #8A7C2F
monochromatic
#10242F #1F485C #2F6B8A #3F8EB8 #68AACC

Accessibility & contrast

On white

5.85
#2F6B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F6B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B8A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B8A#FFFFFF#000000##FFFFFF
##2F6B8A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f6b8a;
/* rgb */ color: rgb(47, 107, 138);
/* oklch */ color: oklch(50.2% 0.079 234.0);
Tailwind
colors: {
  custom: {
    50: '#7295ac',
    500: '#2f6b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b8a;
$custom-light: #7295ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b8a",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 200.44,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.07907,
    "h": 234
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#2F6B8A
secondary
#B37E62
accent
#7E4FD9
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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