#2F6794#2F6794

#2F6794 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.093 H 245.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2F6794
RGBrgb(47, 103, 148)
HSLhsl(207, 52%, 38%)
HSVhsv(207, 68%, 58%)
CMYKcmyk(68.2%, 30.4%, 0%, 42%)
CIE-LABlab(41.91, -3.28, -30.03)
CIE-LCHlch(41.91, 30.21, 263.77°)
OKLaboklab(49.73% -0.0386 -0.0848)
OKLCHoklch(49.73% 0.093 245.5)
XYZxyz(11.3658, 12.4418, 29.8137)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6794 #945C2F
analogous
#2F948E #2F6794 #2F3494
triadic
#2F6794 #942F67 #67942F
tetradic
#2F6794 #8E2F94 #945C2F #34942F
square
#2F6794 #8E2F94 #945C2F #34942F
split-complementary
#2F6794 #942F34 #948E2F
monochromatic
#112637 #204766 #2F6794 #3E87C2 #6DA4D1

Accessibility & contrast

On white

6.02
#2F6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6794
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6794#FFFFFF#000000##FFFFFF
##2F67941.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6794;
/* rgb */ color: rgb(47, 103, 148);
/* oklch */ color: oklch(49.7% 0.093 245.5);
Tailwind
colors: {
  custom: {
    50: '#7392b3',
    500: '#2f6794',
    950: '#000000',
  },
}
SCSS
$custom: #2f6794;
$custom-light: #7392b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6794",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 206.733,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.09318,
    "h": 245.5
  },
  "luminance": 0.12443
}

Semantic roles & 50–950 ramp

primary
#2F6794
secondary
#B88B67
accent
#8C4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6794

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

Preview Lab → · Contrast checker → · Palette generator →

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