#2E7FB1#2E7FB1

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

Color values

HEX#2E7FB1
RGBrgb(46, 127, 177)
HSLhsl(203, 59%, 44%)
HSVhsv(203, 74%, 69%)
CMYKcmyk(74%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.61, -7.34, -33.43)
CIE-LCHlch(50.61, 34.23, 257.61°)
OKLaboklab(57.06% -0.0544 -0.0944)
OKLCHoklch(57.06% 0.109 240)
XYZxyz(16.6488, 18.9320, 44.3632)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB1 #B1602E
analogous
#2EB1A1 #2E7FB1 #2E3DB1
triadic
#2E7FB1 #B12E7F #7FB12E
tetradic
#2E7FB1 #A12EB1 #B1602E #3DB12E
square
#2E7FB1 #A12EB1 #B1602E #3DB12E
split-complementary
#2E7FB1 #B12E3D #B1A12E
monochromatic
#153950 #215C80 #2E7FB1 #4C9ED0 #7CB8DD

Accessibility & contrast

On white

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

On black

4.79
#2E7FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FB1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FB1#FFFFFF#000000##000000
##2E7FB11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB3
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7fb1;
/* rgb */ color: rgb(46, 127, 177);
/* oklch */ color: oklch(57.1% 0.109 240.0);
Tailwind
colors: {
  custom: {
    50: '#78a4c8',
    500: '#2e7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb1;
$custom-light: #78a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb1",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 202.901,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.109,
    "h": 240
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#2E7FB1
secondary
#C69475
accent
#8146E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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