#2E7FB5#2E7FB5

#2E7FB5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.113 H 242.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2E7FB5
RGBrgb(46, 127, 181)
HSLhsl(204, 59%, 45%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(74.6%, 29.8%, 0%, 29%)
CIE-LABlab(50.80, -5.91, -35.44)
CIE-LCHlch(50.80, 35.93, 260.53°)
OKLaboklab(57.27% -0.0531 -0.1003)
OKLCHoklch(57.27% 0.113 242.1)
XYZxyz(17.0533, 19.0938, 46.4938)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB5 #B5642E
analogous
#2EB5A8 #2E7FB5 #2E3CB5
triadic
#2E7FB5 #B52E7F #7FB52E
tetradic
#2E7FB5 #A82EB5 #B5642E #3CB52E
square
#2E7FB5 #A82EB5 #B5642E #3CB52E
split-complementary
#2E7FB5 #B52E3C #B5A82E
monochromatic
#153B53 #225D84 #2E7FB5 #4E9DD2 #7FB8DE

Accessibility & contrast

On white

4.36
#2E7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2E7FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FB5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FB5#FFFFFF#000000##000000
##2E7FB51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7fb5;
/* rgb */ color: rgb(46, 127, 181);
/* oklch */ color: oklch(57.3% 0.113 242.1);
Tailwind
colors: {
  custom: {
    50: '#79a3cb',
    500: '#2e7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb5;
$custom-light: #79a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb5",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 204,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.11348,
    "h": 242.1
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#2E7FB5
secondary
#C79778
accent
#8445E3
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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