#2F6A9E#2F6A9E

#2F6A9E is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 51.0% C 0.103 H 248.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F6A9E
RGBrgb(47, 106, 158)
HSLhsl(208, 54%, 40%)
HSVhsv(208, 70%, 62%)
CMYKcmyk(70.3%, 32.9%, 0%, 38%)
CIE-LABlab(43.33, -1.49, -33.75)
CIE-LCHlch(43.33, 33.78, 267.47°)
OKLaboklab(51.01% -0.0387 -0.0956)
OKLCHoklch(51.01% 0.103 248)
XYZxyz(12.4956, 13.3797, 34.2651)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A9E #9E632F
analogous
#2F9E9A #2F6A9E #2F339E
triadic
#2F6A9E #9E2F6A #6A9E2F
tetradic
#2F6A9E #9A2F9E #9E632F #339E2F
square
#2F6A9E #9A2F9E #9E632F #339E2F
split-complementary
#2F6A9E #9E2F33 #9E9A2F
monochromatic
#132B40 #214A6F #2F6A9E #4389C7 #72A7D5

Accessibility & contrast

On white

5.71
#2F6A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F6A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A9E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A9E#FFFFFF#000000##FFFFFF
##2F6A9E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536CA0
Deuteranopia (green-blind)
#43629D
Tritanopia (blue-blind)
#00767D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f6a9e;
/* rgb */ color: rgb(47, 106, 158);
/* oklch */ color: oklch(51.0% 0.103 248.0);
Tailwind
colors: {
  custom: {
    50: '#7594bb',
    500: '#2f6a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a9e;
$custom-light: #7594bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a9e",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 158
  },
  "hsl": {
    "h": 208.108,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.10311,
    "h": 248
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#2F6A9E
secondary
#BD926C
accent
#8F4ADE
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F6A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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