#2E6797#2E6797

#2E6797 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.9% C 0.097 H 246.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2E6797
RGBrgb(46, 103, 151)
HSLhsl(207, 53%, 39%)
HSVhsv(207, 70%, 59%)
CMYKcmyk(69.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.02, -2.36, -31.64)
CIE-LCHlch(42.02, 31.73, 265.73°)
OKLaboklab(49.86% -0.0383 -0.0895)
OKLCHoklch(49.86% 0.097 246.8)
XYZxyz(11.5608, 12.5145, 31.0784)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6797 #975E2E
analogous
#2E9792 #2E6797 #2E3297
triadic
#2E6797 #972E67 #67972E
tetradic
#2E6797 #922E97 #975E2E #32972E
square
#2E6797 #922E97 #975E2E #32972E
split-complementary
#2E6797 #972E32 #97922E
monochromatic
#112739 #204768 #2E6797 #3E87C4 #6DA4D2

Accessibility & contrast

On white

5.99
#2E6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E6797
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6797#FFFFFF#000000##FFFFFF
##2E67971.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e6797;
/* rgb */ color: rgb(46, 103, 151);
/* oklch */ color: oklch(49.9% 0.097 246.8);
Tailwind
colors: {
  custom: {
    50: '#7392b6',
    500: '#2e6797',
    950: '#000000',
  },
}
SCSS
$custom: #2e6797;
$custom-light: #7392b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6797",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 207.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.09739,
    "h": 246.8
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#2E6797
secondary
#BA8D67
accent
#8E4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2E6797

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

Preview Lab → · Contrast checker → · Palette generator →

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