#2E6798#2E6798

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

Color values

HEX#2E6798
RGBrgb(46, 103, 152)
HSLhsl(208, 54%, 39%)
HSVhsv(208, 70%, 60%)
CMYKcmyk(69.7%, 32.2%, 0%, 40.4%)
CIE-LABlab(42.07, -2.00, -32.16)
CIE-LCHlch(42.07, 32.22, 266.44°)
OKLaboklab(49.91% -0.038 -0.091)
OKLCHoklch(49.91% 0.099 247.3)
XYZxyz(11.6423, 12.5471, 31.5079)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6798 #985F2E
analogous
#2E9894 #2E6798 #2E3298
triadic
#2E6798 #982E67 #67982E
tetradic
#2E6798 #942E98 #985F2E #32982E
square
#2E6798 #942E98 #985F2E #32982E
split-complementary
#2E6798 #982E32 #98942E
monochromatic
#12273A #204769 #2E6798 #3E87C5 #6DA4D3

Accessibility & contrast

On white

5.98
#2E6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E6798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6798
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6798#FFFFFF#000000##FFFFFF
##2E67981.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e6798;
/* rgb */ color: rgb(46, 103, 152);
/* oklch */ color: oklch(49.9% 0.099 247.3);
Tailwind
colors: {
  custom: {
    50: '#7392b6',
    500: '#2e6798',
    950: '#000000',
  },
}
SCSS
$custom: #2e6798;
$custom-light: #7392b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6798",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 207.736,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.09866,
    "h": 247.3
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6798

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

Preview Lab → · Contrast checker → · Palette generator →

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