#2F6A9F#2F6A9F

#2F6A9F is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 51.1% C 0.104 H 248.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F6A9F
RGBrgb(47, 106, 159)
HSLhsl(208, 54%, 40%)
HSVhsv(208, 70%, 62%)
CMYKcmyk(70.4%, 33.3%, 0%, 37.6%)
CIE-LABlab(43.38, -1.13, -34.26)
CIE-LCHlch(43.38, 34.28, 268.11°)
OKLaboklab(51.07% -0.0384 -0.0971)
OKLCHoklch(51.07% 0.104 248.4)
XYZxyz(12.5820, 13.4143, 34.7203)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A9F #9F642F
analogous
#2F9F9C #2F6A9F #2F329F
triadic
#2F6A9F #9F2F6A #6A9F2F
tetradic
#2F6A9F #9C2F9F #9F642F #329F2F
square
#2F6A9F #9C2F9F #9F642F #329F2F
split-complementary
#2F6A9F #9F2F32 #9F9C2F
monochromatic
#132B41 #214B70 #2F6A9F #4489C8 #73A7D6

Accessibility & contrast

On white

5.70
#2F6A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6A9F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A9F#FFFFFF#000000##FFFFFF
##2F6A9F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526CA1
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#00777D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f6a9f;
/* rgb */ color: rgb(47, 106, 159);
/* oklch */ color: oklch(51.1% 0.104 248.4);
Tailwind
colors: {
  custom: {
    50: '#7594bb',
    500: '#2f6a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a9f;
$custom-light: #7594bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a9f",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 159
  },
  "hsl": {
    "h": 208.393,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.10438,
    "h": 248.4
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#2F6A9F
secondary
#BD936D
accent
#904ADE
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F6A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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