#2E7FB7#2E7FB7

#2E7FB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.116 H 243.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E7FB7
RGBrgb(46, 127, 183)
HSLhsl(205, 60%, 45%)
HSVhsv(205, 75%, 72%)
CMYKcmyk(74.9%, 30.6%, 0%, 28.2%)
CIE-LABlab(50.89, -5.19, -36.44)
CIE-LCHlch(50.89, 36.81, 261.89°)
OKLaboklab(57.38% -0.0525 -0.1032)
OKLCHoklch(57.38% 0.116 243)
XYZxyz(17.2600, 19.1765, 47.5823)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB7 #B7662E
analogous
#2EB7AB #2E7FB7 #2E3AB7
triadic
#2E7FB7 #B72E7F #7FB72E
tetradic
#2E7FB7 #AB2EB7 #B7662E #3AB72E
square
#2E7FB7 #AB2EB7 #B7662E #3AB72E
split-complementary
#2E7FB7 #B72E3A #B7AB2E
monochromatic
#153B55 #225D86 #2E7FB7 #4F9DD3 #80B8DF

Accessibility & contrast

On white

4.34
#2E7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2E7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FB7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FB7#FFFFFF#000000##000000
##2E7FB71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7fb7;
/* rgb */ color: rgb(46, 127, 183);
/* oklch */ color: oklch(57.4% 0.116 243.0);
Tailwind
colors: {
  custom: {
    50: '#7aa3cd',
    500: '#2e7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb7;
$custom-light: #7aa3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb7",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 204.526,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.11578,
    "h": 243
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#2E7FB7
secondary
#C89979
accent
#8545E3
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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