#2F6795#2F6795

#2F6795 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.094 H 246.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F6795
RGBrgb(47, 103, 149)
HSLhsl(207, 52%, 38%)
HSVhsv(207, 68%, 58%)
CMYKcmyk(68.5%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.96, -2.92, -30.55)
CIE-LCHlch(41.96, 30.69, 264.55°)
OKLaboklab(49.78% -0.0383 -0.0863)
OKLCHoklch(49.78% 0.094 246.1)
XYZxyz(11.4453, 12.4736, 30.2324)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6795 #955D2F
analogous
#2F9590 #2F6795 #2F3495
triadic
#2F6795 #952F67 #67952F
tetradic
#2F6795 #902F95 #955D2F #34952F
square
#2F6795 #902F95 #955D2F #34952F
split-complementary
#2F6795 #952F34 #95902F
monochromatic
#122738 #204766 #2F6795 #3F87C2 #6DA4D1

Accessibility & contrast

On white

6.01
#2F6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6795
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6795#FFFFFF#000000##FFFFFF
##2F67951.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536897
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6795;
/* rgb */ color: rgb(47, 103, 149);
/* oklch */ color: oklch(49.8% 0.094 246.1);
Tailwind
colors: {
  custom: {
    50: '#7392b4',
    500: '#2f6795',
    950: '#000000',
  },
}
SCSS
$custom: #2f6795;
$custom-light: #7392b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6795",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 207.059,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.09443,
    "h": 246.1
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#2F6795
secondary
#B88C67
accent
#8D4CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6795

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

Preview Lab → · Contrast checker → · Palette generator →

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