#2E7FB2#2E7FB2

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

Color values

HEX#2E7FB2
RGBrgb(46, 127, 178)
HSLhsl(203, 59%, 44%)
HSVhsv(203, 74%, 70%)
CMYKcmyk(74.2%, 28.7%, 0%, 30.2%)
CIE-LABlab(50.65, -6.99, -33.93)
CIE-LCHlch(50.65, 34.64, 258.37°)
OKLaboklab(57.11% -0.0541 -0.0959)
OKLCHoklch(57.11% 0.11 240.6)
XYZxyz(16.7488, 18.9720, 44.8901)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB2 #B2612E
analogous
#2EB2A3 #2E7FB2 #2E3DB2
triadic
#2E7FB2 #B22E7F #7FB22E
tetradic
#2E7FB2 #A32EB2 #B2612E #3DB22E
square
#2E7FB2 #A32EB2 #B2612E #3DB22E
split-complementary
#2E7FB2 #B22E3D #B2A32E
monochromatic
#153A51 #215C81 #2E7FB2 #4C9ED1 #7DB8DD

Accessibility & contrast

On white

4.38
#2E7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7FB2#FFFFFF#000000##000000
##2E7FB21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7fb2;
/* rgb */ color: rgb(46, 127, 178);
/* oklch */ color: oklch(57.1% 0.110 240.6);
Tailwind
colors: {
  custom: {
    50: '#79a4c9',
    500: '#2e7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb2;
$custom-light: #79a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb2",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 203.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.1101,
    "h": 240.6
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#2E7FB2
secondary
#C69576
accent
#8246E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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