#2E7EB7#2E7EB7

#2E7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.117 H 243.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E7EB7
RGBrgb(46, 126, 183)
HSLhsl(205, 60%, 45%)
HSVhsv(205, 75%, 72%)
CMYKcmyk(74.9%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.59, -4.60, -36.91)
CIE-LCHlch(50.59, 37.20, 262.89°)
OKLaboklab(57.14% -0.0515 -0.1046)
OKLCHoklch(57.14% 0.117 243.8)
XYZxyz(17.1315, 18.9195, 47.5395)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7EB7 #B7672E
analogous
#2EB7AC #2E7EB7 #2E39B7
triadic
#2E7EB7 #B72E7E #7EB72E
tetradic
#2E7EB7 #AC2EB7 #B7672E #39B72E
square
#2E7EB7 #AC2EB7 #B7672E #39B72E
split-complementary
#2E7EB7 #B72E39 #B7AC2E
monochromatic
#153B55 #225C86 #2E7EB7 #4F9CD3 #80B8DF

Accessibility & contrast

On white

4.39
#2E7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E7EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7EB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7EB7#FFFFFF#000000##000000
##2E7EB71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480B9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7eb7;
/* rgb */ color: rgb(46, 126, 183);
/* oklch */ color: oklch(57.1% 0.117 243.8);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2e7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7eb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7eb7",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 204.964,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.11659,
    "h": 243.8
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#2E7EB7
secondary
#C89A79
accent
#8745E3
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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