#2E7AB8#2E7AB8

#2E7AB8 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.121 H 247.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2E7AB8
RGBrgb(46, 122, 184)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(75%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.45, -1.85, -39.30)
CIE-LCHlch(49.45, 39.34, 267.30°)
OKLaboklab(56.25% -0.0474 -0.1116)
OKLCHoklch(56.25% 0.121 247)
XYZxyz(16.7347, 17.9587, 47.9225)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7AB8 #B86C2E
analogous
#2EB8B1 #2E7AB8 #2E35B8
triadic
#2E7AB8 #B82E7A #7AB82E
tetradic
#2E7AB8 #B12EB8 #B86C2E #35B82E
square
#2E7AB8 #B12EB8 #B86C2E #35B82E
split-complementary
#2E7AB8 #B82E35 #B8B12E
monochromatic
#163956 #225A87 #2E7AB8 #5098D3 #81B5DF

Accessibility & contrast

On white

4.57
#2E7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2E7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7AB8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7AB8#FFFFFF#000000##000000
##2E7AB81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e7ab8;
/* rgb */ color: rgb(46, 122, 184);
/* oklch */ color: oklch(56.3% 0.121 247.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0cd',
    500: '#2e7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2e7ab8;
$custom-light: #7aa0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7ab8",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 206.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.12124,
    "h": 247
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#2E7AB8
secondary
#C89D79
accent
#8C45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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